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
path: root/editor
diff options
context:
space:
mode:
authortatiana-yan <tatiana.kondakova@gmail.com>2018-07-25 18:33:24 +0300
committermpimenov <mpimenov@users.noreply.github.com>2018-07-30 12:36:04 +0300
commitc9d9c562b3a473dfde82ef1ccfbd1cbb62b874ee (patch)
tree6d7c3539e217873d3fac351a31efc213199180ee /editor
parentb23a973a4347c031242f40e2d02d5de910d51f62 (diff)
[indexer] Review fixes
Diffstat (limited to 'editor')
-rw-r--r--editor/xml_feature.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/editor/xml_feature.cpp b/editor/xml_feature.cpp
index a9847c891f..37794b5ff1 100644
--- a/editor/xml_feature.cpp
+++ b/editor/xml_feature.cpp
@@ -10,6 +10,7 @@
#include "geometry/latlon.hpp"
+#include <array>
#include <sstream>
#include <string>
@@ -476,7 +477,7 @@ bool FromXML(XMLFeature const & xml, FeatureType & feature)
feature.GetParams().house.Set(house);
uint32_t typesCount = 0;
- uint32_t types[feature::kMaxTypesCount];
+ array<uint32_t, feature::kMaxTypesCount> types;
xml.ForEachTag([&feature, &types, &typesCount](string const & k, string const & v) {
if (feature.UpdateMetadataValue(k, v))
return;