Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Germann <Ulrich.Germann@gmail.com>2015-07-13 19:50:14 +0300
committerUlrich Germann <Ulrich.Germann@gmail.com>2015-07-13 19:50:14 +0300
commit0abef8c581a8cab3075f610d366bed22c1c9664e (patch)
tree1b4d1b09cb3ac27be7a5b26e69a5be9b551e4578 /moses/TargetPhrase.cpp
parentcc5f12894498a72b3ff80f44df63ef8479d82861 (diff)
Moved m_ttask and m_ttash_flag in initialization orderto avoid compiler warnings.
Diffstat (limited to 'moses/TargetPhrase.cpp')
-rw-r--r--moses/TargetPhrase.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/moses/TargetPhrase.cpp b/moses/TargetPhrase.cpp
index fc7af9687..8e95fc0aa 100644
--- a/moses/TargetPhrase.cpp
+++ b/moses/TargetPhrase.cpp
@@ -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)
{