incorrectly used boost shared_ptr

This commit is contained in:
Hieu Hoang 2014-06-12 13:15:02 +01:00
parent 2f752fe833
commit eeedaaa09c

View File

@ -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];
} }
} }