Bug fix in copy constructor of TargetPhrase: m_ttask_flag wasn't copied but always set to true.

This commit is contained in:
Ulrich Germann 2015-07-01 14:01:57 +01:00
parent 61067b4fa5
commit 851a801c64

View File

@ -144,7 +144,7 @@ TargetPhrase::TargetPhrase(const TargetPhrase &copy)
, 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) {