From 44bf7fd7bf36e0541c8870c798620842b41fbf9e Mon Sep 17 00:00:00 2001 From: "r.kuznetsov" Date: Thu, 16 Aug 2018 13:12:00 +0300 Subject: [PATCH] Fixed Public position in access rules --- kml/types.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/kml/types.hpp b/kml/types.hpp index 34c9ede294..73807d319c 100644 --- a/kml/types.hpp +++ b/kml/types.hpp @@ -15,6 +15,7 @@ namespace kml { enum class PredefinedColor : uint8_t { + // Do not change the order because of binary serialization. None = 0, Red, Blue, @@ -48,11 +49,12 @@ inline std::string DebugPrint(PredefinedColor color) enum class AccessRules : uint8_t { + // Do not change the order because of binary serialization. Local = 0, + Public, DirectLink, P2P, Paid, - Public, Count }; @@ -73,6 +75,7 @@ inline std::string DebugPrint(AccessRules accessRules) enum class BookmarkIcon : uint16_t { + // Do not change the order because of binary serialization. None = 0, Hotel, Animals,