diff options
author | Alex Zolotarev <alex@maps.me> | 2016-01-26 20:16:32 +0300 |
---|---|---|
committer | Sergey Yershov <yershov@corp.mail.ru> | 2016-03-23 16:15:37 +0300 |
commit | f6a3b8254bbd90f34c179e0333d0e515e9b7aae3 (patch) | |
tree | cbf557ea187c00b57315e63cd814ccdce21225f7 /indexer/feature.cpp | |
parent | 7cc80be7ec4f6a85e769eeaac2185d851d331a08 (diff) |
Metadata was serialized to int8_t after refactoring, instead of enum values.
Diffstat (limited to 'indexer/feature.cpp')
-rw-r--r-- | indexer/feature.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<Metadata::EType>(type)); feature.SetTagValue(attributeName, m_metadata.Get(type)); } |