mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-25 04:43:03 +03:00
Moved m_ttask and m_ttash_flag in initialization orderto avoid compiler warnings.
This commit is contained in:
parent
cc5f128944
commit
0abef8c581
@ -42,13 +42,13 @@ namespace Moses
|
||||
{
|
||||
TargetPhrase::TargetPhrase( std::string out_string, const PhraseDictionary *pt)
|
||||
:Phrase(0)
|
||||
, m_ttask_flag(false)
|
||||
, m_fullScore(0.0)
|
||||
, m_futureScore(0.0)
|
||||
, m_alignTerm(&AlignmentInfoCollection::Instance().GetEmptyAlignmentInfo())
|
||||
, m_alignNonTerm(&AlignmentInfoCollection::Instance().GetEmptyAlignmentInfo())
|
||||
, m_lhsTarget(NULL)
|
||||
, m_ruleSource(NULL)
|
||||
, m_ttask_flag(false)
|
||||
, m_container(pt)
|
||||
{
|
||||
//ACAT
|
||||
@ -61,14 +61,14 @@ TargetPhrase::TargetPhrase( std::string out_string, const PhraseDictionary *pt)
|
||||
|
||||
TargetPhrase::TargetPhrase(ttasksptr& ttask, std::string out_string, const PhraseDictionary *pt)
|
||||
:Phrase(0)
|
||||
, m_ttask(ttask)
|
||||
, m_ttask_flag(true)
|
||||
, m_fullScore(0.0)
|
||||
, m_futureScore(0.0)
|
||||
, m_alignTerm(&AlignmentInfoCollection::Instance().GetEmptyAlignmentInfo())
|
||||
, m_alignNonTerm(&AlignmentInfoCollection::Instance().GetEmptyAlignmentInfo())
|
||||
, m_lhsTarget(NULL)
|
||||
, m_ruleSource(NULL)
|
||||
, m_ttask(ttask)
|
||||
, m_ttask_flag(true)
|
||||
, m_container(pt)
|
||||
{
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user