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 /src/mbgl/style/expression/literal.cpp | |
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 'src/mbgl/style/expression/literal.cpp')
-rw-r--r-- | src/mbgl/style/expression/literal.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mbgl/style/expression/literal.cpp b/src/mbgl/style/expression/literal.cpp index fc11878bea..7e79fcbfe6 100644 --- a/src/mbgl/style/expression/literal.cpp +++ b/src/mbgl/style/expression/literal.cpp @@ -1,5 +1,5 @@ - #include <mbgl/style/expression/literal.hpp> +#include <mbgl/util/string.hpp> namespace mbgl { namespace style { @@ -70,7 +70,7 @@ ParseResult Literal::parse(const Convertible& value, ParsingContext& ctx) { } else if (isArray(value)) { // object or array value, quoted with ["literal", value] if (arrayLength(value) != 2) { - ctx.error("'literal' expression requires exactly one argument, but found " + std::to_string(arrayLength(value) - 1) + " instead."); + ctx.error("'literal' expression requires exactly one argument, but found " + util::toString(arrayLength(value) - 1) + " instead."); return ParseResult(); } const optional<Value> parsedValue = parseValue(arrayMember(value, 1), ctx); |