[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

@@ -384,7 +384,11 @@ MwmValue::MwmValue(LocalCountryFile const & localFile)
: m_cont(platform::GetCountryReader(localFile, MapFileType::Map))
, m_file(localFile)
{
m_factory.Load(m_cont);
m_version = version::MwmVersion::Read(m_cont);
if (m_version.GetFormat() < version::Format::v11)
MYTHROW(CorruptedMwmFile, (m_cont.GetFileName()));
m_header.Load(m_cont);
}
void MwmValue::SetTable(MwmInfoEx & info)