diff --git a/dlib/image_processing/remove_unobtainable_rectangles.h b/dlib/image_processing/remove_unobtainable_rectangles.h index e3f0debb7..763bed701 100644 --- a/dlib/image_processing/remove_unobtainable_rectangles.h +++ b/dlib/image_processing/remove_unobtainable_rectangles.h @@ -17,7 +17,7 @@ namespace dlib namespace impl { - bool matches_rect ( + inline bool matches_rect ( const std::vector& rects, const rectangle& rect, const double eps @@ -33,7 +33,7 @@ namespace dlib return false; } - rectangle get_best_matching_rect ( + inline rectangle get_best_matching_rect ( const std::vector& rects, const rectangle& rect )