summaryrefslogtreecommitdiff
path: root/mteval/scorer.h
diff options
context:
space:
mode:
authorPatrick Simianer <simianer@cl.uni-heidelberg.de>2013-11-28 11:11:22 +0100
committerPatrick Simianer <simianer@cl.uni-heidelberg.de>2013-11-28 11:11:22 +0100
commita6b3d3417c6d8a63c36a0fdc9c7cf06f7b06df9f (patch)
treeb86142bbf686a69cc3c9913faee18e073b8eece0 /mteval/scorer.h
parent0be26bb330f3a976243c9da1d6908d4aaf033ebe (diff)
parenta5b4f06838585874f200c94028cd4d41d54c4f76 (diff)
Merge branch 'master' of github.com:pks/cdec-dtrain
Diffstat (limited to 'mteval/scorer.h')
-rw-r--r--mteval/scorer.h4
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: