Commit 9bea5e39 authored by Davis King's avatar Davis King

Removed the implicit conversion from rectangles.

parent 6f9de0f4
...@@ -24,7 +24,7 @@ namespace dlib ...@@ -24,7 +24,7 @@ namespace dlib
const std::vector<point>& movable_parts_ const std::vector<point>& movable_parts_
) : rect(rect_), movable_parts(movable_parts) {} ) : rect(rect_), movable_parts(movable_parts) {}
full_object_detection( explicit full_object_detection(
const rectangle& rect_ const rectangle& rect_
) : rect(rect_) {} ) : rect(rect_) {}
......
...@@ -23,7 +23,7 @@ namespace dlib ...@@ -23,7 +23,7 @@ namespace dlib
const std::vector<point>& movable_parts_ const std::vector<point>& movable_parts_
) : rect(rect_), movable_parts(movable_parts) {} ) : rect(rect_), movable_parts(movable_parts) {}
full_object_detection( explicit full_object_detection(
const rectangle& rect_ const rectangle& rect_
) : rect(rect_) {} ) : rect(rect_) {}
......
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