diff options
author | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2017-11-10 20:04:20 -0200 |
---|---|---|
committer | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2017-11-12 13:17:57 -0200 |
commit | 92608f58858d77c17a65ae9b29758e74bb2da7d2 (patch) | |
tree | f4b0287febdea20ae58d4dc31be294d50253b254 /include/mbgl/style/expression/type.hpp | |
parent | 465b345dd2d9e8ff95accecc84b6ec6ff24e0a2f (diff) | |
download | qtlocation-mapboxgl-92608f58858d77c17a65ae9b29758e74bb2da7d2.tar.gz |
[core] Fix build on Android + GCC and Android + armeabi
Sadly we don't have bots for these two setups.
Diffstat (limited to 'include/mbgl/style/expression/type.hpp')
-rw-r--r-- | include/mbgl/style/expression/type.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/mbgl/style/expression/type.hpp b/include/mbgl/style/expression/type.hpp index d801cd3ac9..da59eb001c 100644 --- a/include/mbgl/style/expression/type.hpp +++ b/include/mbgl/style/expression/type.hpp @@ -1,6 +1,7 @@ #pragma once #include <mbgl/util/optional.hpp> +#include <mbgl/util/string.hpp> #include <mbgl/util/variant.hpp> #include <vector> @@ -88,7 +89,7 @@ struct Array { Array(Type itemType_, optional<std::size_t> N_) : itemType(std::move(itemType_)), N(std::move(N_)) {} std::string getName() const { if (N) { - return "array<" + toString(itemType) + ", " + std::to_string(*N) + ">"; + return "array<" + toString(itemType) + ", " + util::toString(*N) + ">"; } else if (itemType == Value) { return "array"; } else { |