From 92608f58858d77c17a65ae9b29758e74bb2da7d2 Mon Sep 17 00:00:00 2001 From: "Thiago Marcos P. Santos" Date: Fri, 10 Nov 2017 20:04:20 -0200 Subject: [core] Fix build on Android + GCC and Android + armeabi Sadly we don't have bots for these two setups. --- src/mbgl/style/expression/coercion.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/mbgl/style/expression/coercion.cpp') diff --git a/src/mbgl/style/expression/coercion.cpp b/src/mbgl/style/expression/coercion.cpp index f2042ffd8f..8ed8e160dd 100644 --- a/src/mbgl/style/expression/coercion.cpp +++ b/src/mbgl/style/expression/coercion.cpp @@ -1,6 +1,7 @@ #include #include #include +#include namespace mbgl { namespace style { @@ -11,7 +12,7 @@ EvaluationResult toNumber(const Value& v) { [](const double f) -> optional { return f; }, [](const std::string& s) -> optional { try { - return std::stof(s); + return util::stof(s); } catch(std::exception) { return optional(); } -- cgit v1.2.1