"tests/git@developer.sourcefind.cn:OpenDAS/apex.git" did not exist on "ad50ce9a89bed49235d8eeb87ea1d6f8cc8d6036"
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 (
{
DLIB_CASSERT(len(detectors) > 0);
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);
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