Fixed order of member initialization to avoid compiler warngins.

This commit is contained in:
Ulrich Germann 2015-02-09 23:13:53 +00:00
parent 77b439d5bd
commit 3fc2fbe417

View File

@ -60,15 +60,15 @@ bool g_mosesDebug = false;
StaticData StaticData::s_instance;
StaticData::StaticData()
:m_sourceStartPosMattersForRecombination(false)
,m_inputType(SentenceInput)
,m_onlyDistinctNBest(false)
,m_needAlignmentInfo(false)
,m_lmEnableOOVFeature(false)
,m_isAlwaysCreateDirectTranslationOption(false)
,m_currentWeightSetting("default")
,m_requireSortingAfterSourceContext(false)
,m_treeStructure(NULL)
: m_sourceStartPosMattersForRecombination(false)
, m_requireSortingAfterSourceContext(false)
, m_inputType(SentenceInput)
, m_onlyDistinctNBest(false)
, m_needAlignmentInfo(false)
, m_lmEnableOOVFeature(false)
, m_isAlwaysCreateDirectTranslationOption(false)
, m_currentWeightSetting("default")
, m_treeStructure(NULL)
{
m_xmlBrackets.first="<";
m_xmlBrackets.second=">";