Commit fed68f72 authored by oscar's avatar oscar

提交代码

parent d406feb4
......@@ -77,7 +77,7 @@ int BaseTracker<T>::Run(const std::vector<std::vector<float> >& detections, std:
}
else
{
//std::shared_ptr<float*> Z = std::make_shared<float*>(new float*[10]);
std::shared_ptr<float*> Z = std::shared_ptr<float*>(new *float[10], [](float** p) {if (p) delete[] p; p = nullptr; });
}
/*** Create new tracks for unmatched detections ***/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment