Removed the implicit conversion from rectangles.

This commit is contained in:
Davis King 2012-08-10 23:54:45 -04:00
parent 6f9de0f4df
commit 9bea5e3940
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ namespace dlib
const std::vector<point>& movable_parts_
) : rect(rect_), movable_parts(movable_parts) {}
full_object_detection(
explicit full_object_detection(
const rectangle& rect_
) : rect(rect_) {}

View File

@ -23,7 +23,7 @@ namespace dlib
const std::vector<point>& movable_parts_
) : rect(rect_), movable_parts(movable_parts) {}
full_object_detection(
explicit full_object_detection(
const rectangle& rect_
) : rect(rect_) {}