diff options
author | Tetsuo Kiso <tetsuo-s@is.naist.jp> | 2011-11-12 04:51:27 +0400 |
---|---|---|
committer | Tetsuo Kiso <tetsuo-s@is.naist.jp> | 2011-11-12 04:51:27 +0400 |
commit | dfb714296fcb6ee2bdde028a5c5bef430b9558aa (patch) | |
tree | 0ba8be0d16405633dd9208d8e232b6dc6d945e02 /mert/CderScorer.h | |
parent | ce9a628ed0337d051ce7058dcace2fa53df6d884 (diff) |
Add 'explicit' for constructors with one argument.
Diffstat (limited to 'mert/CderScorer.h')
-rw-r--r-- | mert/CderScorer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mert/CderScorer.h b/mert/CderScorer.h index 1f9d01b3f..9a1ad8348 100644 --- a/mert/CderScorer.h +++ b/mert/CderScorer.h @@ -14,7 +14,7 @@ using namespace std; class CderScorer: public StatisticsBasedScorer { public: - CderScorer(const string& config); + explicit CderScorer(const string& config); virtual void setReferenceFiles(const vector<string>& referenceFiles); virtual void prepareStats(size_t sid, const string& text, ScoreStats& entry) { |