diff options
author | Chris Dyer <redpony@gmail.com> | 2014-10-19 15:23:31 -0400 |
---|---|---|
committer | Chris Dyer <redpony@gmail.com> | 2014-10-19 15:23:31 -0400 |
commit | fff4dc4a763c6f7fbda61b958ab45641c638d93f (patch) | |
tree | 72b36757d96681b8de16a6a5c6f51ae744cbea7c /decoder/trule.h | |
parent | 2bb5f3f4c3c347a2474392993c17cc62653dd133 (diff) |
remove json hypergraph format
Diffstat (limited to 'decoder/trule.h')
-rw-r--r-- | decoder/trule.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/decoder/trule.h b/decoder/trule.h index 85842bb5..7af46747 100644 --- a/decoder/trule.h +++ b/decoder/trule.h @@ -167,7 +167,7 @@ class TRule { friend class boost::serialization::access; template<class Archive> - void save(Archive & ar, const unsigned int version) const { + void save(Archive & ar, const unsigned int /*version*/) const { ar & TD::Convert(-lhs_); unsigned f_size = f_.size(); ar & f_size; @@ -195,7 +195,7 @@ class TRule { ar & scores_; } template<class Archive> - void load(Archive & ar, const unsigned int version) { + void load(Archive & ar, const unsigned int /*version*/) { std::string lhs; ar & lhs; lhs_ = -TD::Convert(lhs); unsigned f_size; ar & f_size; f_.resize(f_size); |