diff options
author | Sergey Magidovich <mgsergio@mapswithme.com> | 2016-02-28 22:33:38 +0300 |
---|---|---|
committer | Sergey Yershov <yershov@corp.mail.ru> | 2016-03-23 16:49:24 +0300 |
commit | 4a3989ff23d90c112b50f690e7a2c2329aa54389 (patch) | |
tree | 6c4476e3d423686acbf55f180c39abb55561b929 /indexer/features_vector.hpp | |
parent | 78fb143a7901288395d5cc70b0aa4e0b9ff707fc (diff) |
Platform::GetReader returns unique_ptr. Fix leaks.
Diffstat (limited to 'indexer/features_vector.hpp')
-rw-r--r-- | indexer/features_vector.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indexer/features_vector.hpp b/indexer/features_vector.hpp index be38523a73..110a85216d 100644 --- a/indexer/features_vector.hpp +++ b/indexer/features_vector.hpp @@ -46,7 +46,7 @@ private: friend class FeaturesVectorTest; feature::SharedLoadInfo m_LoadInfo; - VarRecordReader<FilesContainerR::ReaderT, &VarRecordSizeReaderVarint> m_RecordReader; + VarRecordReader<FilesContainerR::TReader, &VarRecordSizeReaderVarint> m_RecordReader; mutable vector<char> m_buffer; feature::FeaturesOffsetsTable const * m_table; }; |