Metadata was serialized to int8_t after refactoring, instead of enum values.

This commit is contained in:
Alex Zolotarev 2016-01-26 20:16:32 +03:00 committed by Sergey Yershov
parent 7cc80be7ec
commit f6a3b8254b

View file

@ -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));
}