diff options
author | Hieu Hoang <hieu@hoang.co.uk> | 2014-08-04 18:46:40 +0400 |
---|---|---|
committer | Hieu Hoang <hieu@hoang.co.uk> | 2014-08-04 18:46:40 +0400 |
commit | 3f3912772dca06e1b4095e1db205e7ba0e6c6551 (patch) | |
tree | a6f8660208b9dced52c295c6b059332f7325e308 /moses/TargetPhrase.cpp | |
parent | 5f90ccdb13194b1bc9401cc3691c7672c42d30f6 (diff) |
initialise m_container
Diffstat (limited to 'moses/TargetPhrase.cpp')
-rw-r--r-- | moses/TargetPhrase.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/moses/TargetPhrase.cpp b/moses/TargetPhrase.cpp index 0ec1e9faa..433286b93 100644 --- a/moses/TargetPhrase.cpp +++ b/moses/TargetPhrase.cpp @@ -50,7 +50,7 @@ TargetPhrase::TargetPhrase() { } -TargetPhrase::TargetPhrase(const Phrase &phrase, const PhraseDictionary &pt) +TargetPhrase::TargetPhrase(const Phrase &phrase) : Phrase(phrase) , m_fullScore(0.0) , m_futureScore(0.0) @@ -58,7 +58,7 @@ TargetPhrase::TargetPhrase(const Phrase &phrase, const PhraseDictionary &pt) , m_alignNonTerm(&AlignmentInfoCollection::Instance().GetEmptyAlignmentInfo()) , m_lhsTarget(NULL) , m_ruleSource(NULL) - , m_container(&pt) + , m_container(NULL) { } |