diff options
author | Maxim Pimenov <m@maps.me> | 2016-09-23 18:40:43 +0300 |
---|---|---|
committer | Maxim Pimenov <m@maps.me> | 2016-09-26 13:20:19 +0300 |
commit | 5e9ee80498a0ae978781bff123f8a8032fc9d342 (patch) | |
tree | 3a923d1ea54881fd8871895eb040efa5824532ce /search/search_tests_support | |
parent | b97a8791ff701f30f9c801c36b7b0cb2fc4f7739 (diff) |
Review fixes.
Diffstat (limited to 'search/search_tests_support')
-rw-r--r-- | search/search_tests_support/test_results_matching.cpp | 2 | ||||
-rw-r--r-- | search/search_tests_support/test_results_matching.hpp | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/search/search_tests_support/test_results_matching.cpp b/search/search_tests_support/test_results_matching.cpp index 34d8a3e1b9..ccbfa55b7f 100644 --- a/search/search_tests_support/test_results_matching.cpp +++ b/search/search_tests_support/test_results_matching.cpp @@ -13,7 +13,7 @@ namespace search { namespace tests_support { -ExactMatchingRule::ExactMatchingRule(MwmSet::MwmId const & mwmId, TestFeature & feature) +ExactMatchingRule::ExactMatchingRule(MwmSet::MwmId const & mwmId, TestFeature const & feature) : m_mwmId(mwmId), m_feature(feature) { } diff --git a/search/search_tests_support/test_results_matching.hpp b/search/search_tests_support/test_results_matching.hpp index 24505d369e..3a776d48ca 100644 --- a/search/search_tests_support/test_results_matching.hpp +++ b/search/search_tests_support/test_results_matching.hpp @@ -35,7 +35,8 @@ public: class ExactMatchingRule : public MatchingRule { public: - ExactMatchingRule(MwmSet::MwmId const & mwmId, generator::tests_support::TestFeature & feature); + ExactMatchingRule(MwmSet::MwmId const & mwmId, + generator::tests_support::TestFeature const & feature); // MatchingRule overrides: bool Matches(FeatureType const & feature) const override; @@ -43,7 +44,7 @@ public: private: MwmSet::MwmId m_mwmId; - generator::tests_support::TestFeature & m_feature; + generator::tests_support::TestFeature const & m_feature; }; class AlternativesMatchingRule : public MatchingRule |