From 879e33f540f824b34be163d54dd92819aff755d1 Mon Sep 17 00:00:00 2001 From: Yuri Gorshenin Date: Mon, 23 May 2016 12:48:22 +0300 Subject: [PATCH] Review fixes. --- search/v2/search_model.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/search/v2/search_model.cpp b/search/v2/search_model.cpp index d3cd319e38..5117d6e3a7 100644 --- a/search/v2/search_model.cpp +++ b/search/v2/search_model.cpp @@ -72,8 +72,7 @@ public: bool operator()(FeatureType const & ft) const { - static auto const & buildingChecker = IsBuildingChecker::Instance(); - return !ft.GetHouseNumber().empty() || buildingChecker(ft); + return !ft.GetHouseNumber().empty() || IsBuildingChecker::Instance()(ft); } private: