diff --git a/indexer/features_vector.hpp b/indexer/features_vector.hpp index e66b05faef..ff15dd0558 100644 --- a/indexer/features_vector.hpp +++ b/indexer/features_vector.hpp @@ -32,7 +32,7 @@ public: header.Read(*reader.GetPtr()); CHECK(header.m_version == feature::DatSectionHeader::Version::V0, (base::Underlying(header.m_version))); - m_recordReader = std::make_unique( + m_recordReader = std::make_unique( reader.SubReader(header.m_featuresOffset, header.m_featuresSize)); auto metaIdxReader = m_loadInfo.GetMetadataIndexReader(); @@ -41,7 +41,7 @@ public: } else { - m_recordReader = std::make_unique(m_loadInfo.GetDataReader()); + m_recordReader = std::make_unique(m_loadInfo.GetDataReader()); } CHECK(m_recordReader, ()); } @@ -67,17 +67,17 @@ public: template static void ForEachOffset(ModelReaderPtr reader, ToDo && toDo) { - VarRecordReader recordReader(reader); + RecordReader recordReader(reader); recordReader.ForEachRecord( [&](uint32_t pos, std::vector && /* data */) { toDo(pos); }); } private: friend class FeaturesVectorTest; - using VarRecordReader = VarRecordReader; + using RecordReader = VarRecordReader; feature::SharedLoadInfo m_loadInfo; - std::unique_ptr m_recordReader; + std::unique_ptr m_recordReader; feature::FeaturesOffsetsTable const * m_table; std::unique_ptr m_metaidx; };