diff options
author | Tetsuo Kiso <tetsuo.sakai21@gmail.com> | 2011-12-08 09:17:39 +0400 |
---|---|---|
committer | Tetsuo Kiso <tetsuo.sakai21@gmail.com> | 2011-12-08 09:17:39 +0400 |
commit | 62d03a80f407eabc9528c41e84cb235960cf8094 (patch) | |
tree | dc55c135db518f355bc83e76ecdcf1facce3dbb8 /mert | |
parent | 0095bef95289a1b28ff6fd0bc15d30b94cc4dd0a (diff) |
Add explicit
Diffstat (limited to 'mert')
-rw-r--r-- | mert/FeatureDataIterator.h | 4 | ||||
-rw-r--r-- | mert/ScoreDataIterator.h | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/mert/FeatureDataIterator.h b/mert/FeatureDataIterator.h index 6df249822..b05f78214 100644 --- a/mert/FeatureDataIterator.h +++ b/mert/FeatureDataIterator.h @@ -68,7 +68,7 @@ class FeatureDataIterator : { public: FeatureDataIterator(); - FeatureDataIterator(const std::string& filename); + explicit FeatureDataIterator(const std::string& filename); static FeatureDataIterator end() { return FeatureDataIterator(); @@ -89,5 +89,3 @@ class FeatureDataIterator : }; #endif - - diff --git a/mert/ScoreDataIterator.h b/mert/ScoreDataIterator.h index 3248a7a78..4633b8651 100644 --- a/mert/ScoreDataIterator.h +++ b/mert/ScoreDataIterator.h @@ -43,7 +43,7 @@ class ScoreDataIterator : { public: ScoreDataIterator(); - ScoreDataIterator(const std::string& filename); + explicit ScoreDataIterator(const std::string& filename); static ScoreDataIterator end() { return ScoreDataIterator(); @@ -62,6 +62,4 @@ class ScoreDataIterator : std::vector<ScoreDataItem> m_next; }; - #endif - |