diff options
author | tatiana-yan <tatiana.kondakova@gmail.com> | 2018-07-25 18:33:24 +0300 |
---|---|---|
committer | mpimenov <mpimenov@users.noreply.github.com> | 2018-07-30 12:36:04 +0300 |
commit | c9d9c562b3a473dfde82ef1ccfbd1cbb62b874ee (patch) | |
tree | 6d7c3539e217873d3fac351a31efc213199180ee /editor | |
parent | b23a973a4347c031242f40e2d02d5de910d51f62 (diff) |
[indexer] Review fixes
Diffstat (limited to 'editor')
-rw-r--r-- | editor/xml_feature.cpp | 3 |
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; |