compile error on gcc 4.6.3

This commit is contained in:
Hieu Hoang 2016-08-13 11:37:31 +01:00
parent fbd2f221ad
commit bd0583e87c
2 changed files with 2 additions and 1 deletions

View File

@ -69,6 +69,7 @@ StaticData::StaticData()
, m_requireSortingAfterSourceContext(false)
, m_currentWeightSetting("default")
, m_treeStructure(NULL)
, m_coordSpaceNextID(1)
{
Phrase::InitializeMemPool();
}

View File

@ -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: