diff options
author | Hieu Hoang <s0565741@odin.inf.ed.ac.uk> | 2016-08-13 13:37:31 +0300 |
---|---|---|
committer | Hieu Hoang <s0565741@odin.inf.ed.ac.uk> | 2016-08-13 13:37:31 +0300 |
commit | bd0583e87c1ff0e9ab2f734329739983d8f86be1 (patch) | |
tree | a45c91fbfede0bca36184a873e321f2c966afbb4 /moses | |
parent | fbd2f221ad4b3d5d43931809c0f431710985b411 (diff) |
compile error on gcc 4.6.3
Diffstat (limited to 'moses')
-rw-r--r-- | moses/StaticData.cpp | 1 | ||||
-rw-r--r-- | moses/StaticData.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/moses/StaticData.cpp b/moses/StaticData.cpp index c80cc54ab..8cd77108c 100644 --- a/moses/StaticData.cpp +++ b/moses/StaticData.cpp @@ -69,6 +69,7 @@ StaticData::StaticData() , m_requireSortingAfterSourceContext(false) , m_currentWeightSetting("default") , m_treeStructure(NULL) + , m_coordSpaceNextID(1) { Phrase::InitializeMemPool(); } diff --git a/moses/StaticData.h b/moses/StaticData.h index 88996a6f3..ea3d14025 100644 --- a/moses/StaticData.h +++ b/moses/StaticData.h @@ -156,7 +156,7 @@ protected: // Coordinate space name map for matching spaces across XML input ("coord" // tag) and feature functions that assign or use coordinates on target phrases std::map< std::string const, size_t > m_coordSpaceMap; - size_t m_coordSpaceNextID = 1; + size_t m_coordSpaceNextID; public: |