diff options
author | Patrick Simianer <simianer@cl.uni-heidelberg.de> | 2013-11-28 11:11:22 +0100 |
---|---|---|
committer | Patrick Simianer <simianer@cl.uni-heidelberg.de> | 2013-11-28 11:11:22 +0100 |
commit | ab02696b1c104febc7f13c896acf4165f2721018 (patch) | |
tree | 61969895daa79d1d67c90f4adc1de7d91ef3cdfd /mteval/scorer.h | |
parent | ab63f2f2988e0093a721d0599c7fe68e183561d8 (diff) | |
parent | e346cd5cd3c5d7164819c35e485a9850d825996e (diff) |
Merge branch 'master' of github.com:pks/cdec-dtrain
Diffstat (limited to 'mteval/scorer.h')
-rw-r--r-- | mteval/scorer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mteval/scorer.h b/mteval/scorer.h index bb1e89ae..8d986612 100644 --- a/mteval/scorer.h +++ b/mteval/scorer.h @@ -103,7 +103,7 @@ class DocScorer { virtual int size() const { return scorers_.size(); } virtual ScorerP operator[](size_t i) const { return scorers_[i]; } - virtual void update(const std::string& ref) {} + virtual void update(const std::string& /*ref*/) {} private: std::vector<ScorerP> scorers_; }; @@ -124,7 +124,7 @@ class DocStreamScorer : public DocScorer { { Init(type,ref_files,src_file,verbose); } - ScorerP operator[](size_t i) const { return scorer; } + ScorerP operator[](size_t /*i*/) const { return scorer; } int size() const { return 1; } void update(const std::string& ref); private: |