mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-25 12:52:29 +03:00
incorrectly used boost shared_ptr
This commit is contained in:
parent
2f752fe833
commit
eeedaaa09c
@ -74,7 +74,7 @@ void ChartTranslationOptions::Evaluate(const InputType &input, const InputPath &
|
|||||||
++numDiscard;
|
++numDiscard;
|
||||||
}
|
}
|
||||||
else if (numDiscard) {
|
else if (numDiscard) {
|
||||||
m_collection[i - numDiscard] = boost::shared_ptr<ChartTranslationOption>(transOpt);
|
m_collection[i - numDiscard] = m_collection[i];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user