mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 04:53:36 +00:00
[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:
committed by
Konstantin Pastbin
parent
25a4a3b76f
commit
6beabb2fe1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user