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::s_instance;
StaticData::StaticData() StaticData::StaticData()
:m_sourceStartPosMattersForRecombination(false) : m_sourceStartPosMattersForRecombination(false)
,m_inputType(SentenceInput) , m_requireSortingAfterSourceContext(false)
,m_onlyDistinctNBest(false) , m_inputType(SentenceInput)
,m_needAlignmentInfo(false) , m_onlyDistinctNBest(false)
,m_lmEnableOOVFeature(false) , m_needAlignmentInfo(false)
,m_isAlwaysCreateDirectTranslationOption(false) , m_lmEnableOOVFeature(false)
,m_currentWeightSetting("default") , m_isAlwaysCreateDirectTranslationOption(false)
,m_requireSortingAfterSourceContext(false) , m_currentWeightSetting("default")
,m_treeStructure(NULL) , m_treeStructure(NULL)
{ {
m_xmlBrackets.first="<"; m_xmlBrackets.first="<";
m_xmlBrackets.second=">"; m_xmlBrackets.second=">";