Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'indexer/indexer_tests/index_test.cpp')
-rw-r--r--indexer/indexer_tests/index_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indexer/indexer_tests/index_test.cpp b/indexer/indexer_tests/index_test.cpp
index 688a598e68..ee14da7fc2 100644
--- a/indexer/indexer_tests/index_test.cpp
+++ b/indexer/indexer_tests/index_test.cpp
@@ -10,8 +10,8 @@
UNIT_TEST(IndexParseTest)
{
- Index<FileReader>::Type index;
- index.Add(GetPlatform().WritablePathForFile("minsk-pass" DATA_FILE_EXTENSION));
+ Index<ModelReaderPtr>::Type index;
+ index.Add(GetPlatform().GetReader("minsk-pass" DATA_FILE_EXTENSION));
// Make sure that index is actually parsed.
index.ForEachInScale(NoopFunctor(), 15);