diff options
author | Tetsuo Kiso <tetsuo-s@is.naist.jp> | 2011-11-12 13:17:31 +0400 |
---|---|---|
committer | Tetsuo Kiso <tetsuo-s@is.naist.jp> | 2011-11-12 13:17:31 +0400 |
commit | 6c845323ac0dec19bc281d3547352701d10efe8a (patch) | |
tree | cdd5b62fda6825051a24d72843307a2ac14e6f7f /mert/FeatureArray.h | |
parent | 20e27aab92a8a1ef67bb9d4bdeaca8bc458f2df5 (diff) |
Fix the order of initialization when the constructor will be called.
Diffstat (limited to 'mert/FeatureArray.h')
-rw-r--r-- | mert/FeatureArray.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/mert/FeatureArray.h b/mert/FeatureArray.h index d3e9c56fb..eaedf893a 100644 --- a/mert/FeatureArray.h +++ b/mert/FeatureArray.h @@ -21,20 +21,20 @@ using namespace std; class FeatureArray { +private: + // idx to identify the utterance. It can differ from + // the index inside the vector. + std::string idx; + protected: featarray_t array_; size_t number_of_features; std::string features; bool _sparse_flag; -private: - // idx to identify the utterance. It can differ from - // the index inside the vector. - std::string idx; - public: FeatureArray(); - ~FeatureArray() {} + ~FeatureArray(); inline void clear() { array_.clear(); |