Update kml/serdes_binary.hpp

Signed-off-by: Alexander Borsuk <170263+biodranik@users.noreply.github.com>
This commit is contained in:
Alexander Borsuk 2024-08-13 21:02:59 +02:00 committed by GitHub
parent b771762dcd
commit efd5606ee2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -251,6 +251,8 @@ private:
NonOwningReaderSource source(reader);
m_header.Deserialize(source);
// The recent MapsMe update increased the version number, but it is not clear yet what changed/added in a newer version.
// Revise V9 in case of discovered crashes.
if (m_header.m_version == Version::V8 || m_header.m_version == Version::V9)
{
// Check if file has Opensource V8 or MapsMe V8.