"...git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "b28ab30215b908a414ca9ad84d8fcda0aea45ed5"
Unverified Commit ba361d73 authored by Davis E. King's avatar Davis E. King Committed by GitHub
Browse files

Avoid compiler bug

parent 27a52936
...@@ -129,7 +129,7 @@ std::shared_ptr<simple_object_detector_py> merge_simple_object_detectors ( ...@@ -129,7 +129,7 @@ std::shared_ptr<simple_object_detector_py> merge_simple_object_detectors (
{ {
DLIB_CASSERT(len(detectors) > 0); DLIB_CASSERT(len(detectors) > 0);
std::vector<simple_object_detector> temp; std::vector<simple_object_detector> temp;
for (auto& d : detectors) for (const auto& d : detectors)
temp.push_back(d.cast<simple_object_detector_py>().detector); temp.push_back(d.cast<simple_object_detector_py>().detector);
simple_object_detector_py result; simple_object_detector_py result;
......
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