From 8bde794c641524b87fe0114b04993797837a2564 Mon Sep 17 00:00:00 2001 From: Davis King Date: Sat, 13 Apr 2013 18:48:52 -0400 Subject: [PATCH] fixed linker error --- dlib/image_processing/remove_unobtainable_rectangles.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 )