diff options
author | Yuri Gorshenin <y@maps.me> | 2017-11-14 12:38:04 +0300 |
---|---|---|
committer | Arsentiy Milchakov <milcars@mapswithme.com> | 2017-11-14 12:44:46 +0300 |
commit | a93db184e1f86cc241c20da8f38406b4999e865d (patch) | |
tree | 7d4d6c7f5c5ecf08630a554e2042d83e2775c5e1 /indexer | |
parent | 50840146fc92050ab1a5df5372f0eee0f30078e2 (diff) |
Review fixes.
Diffstat (limited to 'indexer')
-rw-r--r-- | indexer/indexer_tests_support/test_with_custom_mwms.hpp | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/indexer/indexer_tests_support/test_with_custom_mwms.hpp b/indexer/indexer_tests_support/test_with_custom_mwms.hpp index 2babdb12ad..9fbc81614b 100644 --- a/indexer/indexer_tests_support/test_with_custom_mwms.hpp +++ b/indexer/indexer_tests_support/test_with_custom_mwms.hpp @@ -1,7 +1,6 @@ #pragma once #include "indexer/indexer_tests_support/test_with_classificator.hpp" -#include "indexer/indexer_tests_support/helpers.hpp" #include "generator/generator_tests_support/test_mwm_builder.hpp" @@ -17,8 +16,8 @@ #include "base/assert.hpp" #include <string> -#include <vector> #include <utility> +#include <vector> namespace indexer { @@ -70,15 +69,6 @@ public: return BuildMwm(name, feature::DataHeader::country, std::forward<BuildFn>(fn)); } - template <typename EditorFn> - void EditFeature(FeatureID const & id, EditorFn && fn) - { - Index::FeaturesLoaderGuard loader(m_index, id.m_mwmId); - FeatureType ft; - CHECK(loader.GetFeatureByIndex(id.m_index, ft), ()); - indexer::tests_support::EditFeature(ft, forward<EditorFn>(fn)); - } - protected: static void Cleanup(platform::LocalCountryFile const & file); @@ -89,4 +79,3 @@ protected: }; } // namespace tests_support } // namespace indexer - |