From a2268065888070f35b4e39dbd7879d8ebdaf9fcc Mon Sep 17 00:00:00 2001 From: Kirill Zhdanovich Date: Wed, 29 Jan 2014 13:01:12 +0300 Subject: [PATCH] [search]House compare fix --- search/house_detector.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/search/house_detector.hpp b/search/house_detector.hpp index 66b6f0e92e..34db07344e 100644 --- a/search/house_detector.hpp +++ b/search/house_detector.hpp @@ -54,6 +54,8 @@ public: { bool operator() (House const * h1, House const * h2) const { + if (h1->m_startN == h2->m_startN) + return h1->GetNumber() < h2->GetNumber(); return (h1->m_startN < h2->m_startN); } };