diff options
author | Tetsuo Kiso <tetsuo-s@is.naist.jp> | 2012-02-01 16:36:25 +0400 |
---|---|---|
committer | Tetsuo Kiso <tetsuo-s@is.naist.jp> | 2012-02-01 16:36:25 +0400 |
commit | b2987337d87115a6858113b6a6ad2cc6d2e2db40 (patch) | |
tree | ef8be3ffafaf0b33ac81bc70591971236be81889 /mert/TerScorer.h | |
parent | 923efa0a4cda51c9ebd9f110baa4bc5cf28ef9ff (diff) |
Remove virtual keyword from whoami() function.
The funtion is neither inherited from Scorer nor
StatisticsBasedScorer.
Diffstat (limited to 'mert/TerScorer.h')
-rw-r--r-- | mert/TerScorer.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mert/TerScorer.h b/mert/TerScorer.h index 4601775ca..7ffb4c741 100644 --- a/mert/TerScorer.h +++ b/mert/TerScorer.h @@ -25,10 +25,6 @@ public: virtual void setReferenceFiles(const vector<string>& referenceFiles); virtual void prepareStats(size_t sid, const string& text, ScoreStats& entry); - virtual void whoami() const { - cerr << "I AM TerScorer" << std::endl; - } - virtual size_t NumberOfScores() const { // cerr << "TerScorer: " << (LENGTH + 1) << endl; return kLENGTH + 1; @@ -36,6 +32,10 @@ public: virtual float calculateScore(const vector<int>& comps) const; + void whoami() const { + cerr << "I AM TerScorer" << std::endl; + } + private: const int kLENGTH; |