mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
Removed the implicit conversion from rectangles.
This commit is contained in:
parent
6f9de0f4df
commit
9bea5e3940
@ -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_) {}
|
||||
|
||||
|
@ -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_) {}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user