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:
authorvng <viktor.govako@gmail.com>2011-06-30 10:52:22 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:20:14 +0300
commit233683d1670e89076c82401e2693315046c7244e (patch)
tree3b0a9b71d53e853e663da18c362f6ba267b1bc85 /indexer/feature_processor.hpp
parentf0587a9105b5519903f4f2c3dada1ee3572e7ce1 (diff)
[Refactoring] Use Reader interface everywhere, when possible. Platform class now is a Reader factory.
Diffstat (limited to 'indexer/feature_processor.hpp')
-rw-r--r--indexer/feature_processor.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indexer/feature_processor.hpp b/indexer/feature_processor.hpp
index 7c36b1ba30..575223f3f4 100644
--- a/indexer/feature_processor.hpp
+++ b/indexer/feature_processor.hpp
@@ -10,9 +10,9 @@
namespace feature
{
template <class ToDo>
- void ForEachFromDat(string const & fName, ToDo & toDo)
+ void ForEachFromDat(ModelReaderPtr const & file, ToDo & toDo)
{
- FilesContainerR container(fName);
+ FilesContainerR container(file);
FeaturesVector featureSource(container);
featureSource.ForEachOffset(bind<void>(ref(toDo), _1, _2));
}