Commit f57595fb authored by Davis King's avatar Davis King

Minor change to avoid a compiler error in clang

parent 67347445
......@@ -506,7 +506,7 @@ namespace dlib
{
const point offset = -feats[l].image_to_feat_space(point(0,0));
for (unsigned long j = 0; j < region_rects.size(); ++j)
region_rects[j] = make_pair(j, translate_rect(feats[l].image_to_feat_space(det_templates[i].rects[j]),offset));
region_rects[j] = std::make_pair(j, translate_rect(feats[l].image_to_feat_space(det_templates[i].rects[j]),offset));
scan_image(point_dets, saliency_images, region_rects, thresh, max_dets_per_template);
......
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