Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Zolotarev <alex@maps.me>2016-01-26 20:16:32 +0300
committerSergey Yershov <yershov@corp.mail.ru>2016-03-23 16:15:37 +0300
commitf6a3b8254bbd90f34c179e0333d0e515e9b7aae3 (patch)
treecbf557ea187c00b57315e63cd814ccdce21225f7 /indexer/feature.cpp
parent7cc80be7ec4f6a85e769eeaac2185d851d331a08 (diff)
Metadata was serialized to int8_t after refactoring, instead of enum values.
Diffstat (limited to 'indexer/feature.cpp')
-rw-r--r--indexer/feature.cpp2
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));
}