Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTetsuo Kiso <tetsuo-s@is.naist.jp>2011-11-12 13:17:31 +0400
committerTetsuo Kiso <tetsuo-s@is.naist.jp>2011-11-12 13:17:31 +0400
commit6c845323ac0dec19bc281d3547352701d10efe8a (patch)
treecdd5b62fda6825051a24d72843307a2ac14e6f7f /mert/FeatureArray.h
parent20e27aab92a8a1ef67bb9d4bdeaca8bc458f2df5 (diff)
Fix the order of initialization when the constructor will be called.
Diffstat (limited to 'mert/FeatureArray.h')
-rw-r--r--mert/FeatureArray.h12
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();