diff options
author | Maxim Pimenov <m@maps.me> | 2016-01-05 19:20:34 +0300 |
---|---|---|
committer | Sergey Yershov <yershov@corp.mail.ru> | 2016-03-23 16:03:30 +0300 |
commit | 72a1ad30b93b92756c260ab5cad4134413514f6a (patch) | |
tree | 8aac07cf34ac4bd0e419fb8540082ed7d5db67e3 /indexer/feature_processor.hpp | |
parent | c4fe2dfd25f4fa78bd62b413ffad4d50385c4cb4 (diff) |
[generator] Added a flag to print feature names.
Diffstat (limited to 'indexer/feature_processor.hpp')
-rw-r--r-- | indexer/feature_processor.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indexer/feature_processor.hpp b/indexer/feature_processor.hpp index 08b1a1d8b0..6db645f9b1 100644 --- a/indexer/feature_processor.hpp +++ b/indexer/feature_processor.hpp @@ -13,15 +13,15 @@ namespace feature { - template <class ToDo> - void ForEachFromDat(ModelReaderPtr reader, ToDo & toDo) +template <class ToDo> +void ForEachFromDat(ModelReaderPtr reader, ToDo && toDo) { FeaturesVectorTest features((FilesContainerR(reader))); features.GetVector().ForEach(ref(toDo)); } template <class ToDo> - void ForEachFromDat(string const & fPath, ToDo & toDo) + void ForEachFromDat(string const & fPath, ToDo && toDo) { ForEachFromDat(new FileReader(fPath), toDo); } |