From f6a3b8254bbd90f34c179e0333d0e515e9b7aae3 Mon Sep 17 00:00:00 2001 From: Alex Zolotarev Date: Tue, 26 Jan 2016 20:16:32 +0300 Subject: [PATCH] Metadata was serialized to int8_t after refactoring, instead of enum values. --- indexer/feature.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indexer/feature.cpp b/indexer/feature.cpp index bf18707282..7d871105e9 100644 --- a/indexer/feature.cpp +++ b/indexer/feature.cpp @@ -128,7 +128,7 @@ editor::XMLFeature FeatureType::ToXML() const for (auto const type : m_metadata.GetPresentTypes()) { - auto const attributeName = DebugPrint(type); + auto const attributeName = DebugPrint(static_cast(type)); feature.SetTagValue(attributeName, m_metadata.Get(type)); }