mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-09-11 19:27:11 +03:00
Bug fix in copy constructor of TargetPhrase: m_ttask_flag wasn't copied but always set to true.
This commit is contained in:
parent
61067b4fa5
commit
851a801c64
@ -144,7 +144,7 @@ TargetPhrase::TargetPhrase(const TargetPhrase ©)
|
||||
, m_alignNonTerm(copy.m_alignNonTerm)
|
||||
, m_properties(copy.m_properties)
|
||||
, m_ttask(copy.m_ttask)
|
||||
, m_ttask_flag(true)
|
||||
, m_ttask_flag(copy.m_ttask_flag)
|
||||
, m_container(copy.m_container)
|
||||
{
|
||||
if (copy.m_lhsTarget) {
|
||||
|
Loading…
Reference in New Issue
Block a user