diff --git a/search/search_integration_tests/helpers.hpp b/search/search_integration_tests/helpers.hpp index 2ab3e1f413..ea7412f8d8 100644 --- a/search/search_integration_tests/helpers.hpp +++ b/search/search_integration_tests/helpers.hpp @@ -66,7 +66,7 @@ public: auto const & id = result.first; if (type == feature::DataHeader::country) { - if (auto info = id.GetInfo()) + if (auto const & info = id.GetInfo()) RegisterCountry(name, info->m_limitRect); } return id;