mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-09-11 11:25:40 +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;
|
||||
}
|
||||
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