diff options
Diffstat (limited to 'indexer/feature.cpp')
-rw-r--r-- | indexer/feature.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indexer/feature.cpp b/indexer/feature.cpp index f2c7121fcc..ea35b90d38 100644 --- a/indexer/feature.cpp +++ b/indexer/feature.cpp @@ -829,7 +829,7 @@ uint32_t FeatureType::ParseGeometry(int scale) const int const ind = GetScaleIndex(scale, m_ptsOffsets); if (ind != -1) { - ReaderSource<FileReader> src( + ReaderSource<FilesContainerR::ReaderT> src( m_cont->GetReader(feature::GetTagForIndex(GEOMETRY_FILE_TAG, ind))); src.Skip(m_ptsOffsets[ind]); serial::LoadOuterPath(src, m_CodingParams, m_Points); @@ -881,7 +881,7 @@ uint32_t FeatureType::ParseTriangles(int scale) const uint32_t const ind = GetScaleIndex(scale, m_trgOffsets); if (ind != -1) { - ReaderSource<FileReader> src( + ReaderSource<FilesContainerR::ReaderT> src( m_cont->GetReader(feature::GetTagForIndex(TRIANGLE_FILE_TAG, ind))); src.Skip(m_trgOffsets[ind]); serial::LoadOuterTriangles(src, m_CodingParams, m_Triangles); |