[feature] Removed IndexFactory class.

Signed-off-by: Viktor Govako <viktor.govako@gmail.com>

^ Conflicts:
^	libs/indexer/data_source.cpp
^	libs/indexer/feature.cpp
^	libs/indexer/features_vector.cpp
^	libs/indexer/mwm_set.hpp
This commit is contained in:
Viktor Govako
2025-06-24 21:23:22 -03:00
committed by Konstantin Pastbin
parent 25a4a3b76f
commit 6beabb2fe1
13 changed files with 76 additions and 141 deletions

View File

@@ -358,8 +358,6 @@ void FeatureType::ParseHeader2()
// For inner geometry remaining 4 bits are not used.
if (elemsCount == 0)
geomScalesMask = bitSource.Read(4);
else
ASSERT(headerGeomType == HeaderGeomType::Area || elemsCount > 1, ());
}
ArrayByteSource src(bitSource.RoundPtr());
@@ -414,6 +412,7 @@ void FeatureType::ParseHeader2()
ReadOffsets(*m_loadInfo, src, geomScalesMask, m_offsets.m_trg);
}
}
// Size of the whole header incl. inner geometry / triangles.
m_innerStats.m_size = CalcOffset(src, m_data.data());
m_parsed.m_header2 = true;