diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2018-10-17 15:57:52 +0200 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2018-10-22 11:53:45 +0200 |
commit | ee2a1a855eebcf1572199a5e3d2d96047c2bbb6a (patch) | |
tree | 9200a0fff8f94c0dd9f21b98cceafde3640dbafb | |
parent | ed31cf9d14ccec13c8956545de03fa3390d74bc8 (diff) | |
download | qtlocation-mapboxgl-ee2a1a855eebcf1572199a5e3d2d96047c2bbb6a.tar.gz |
[core] only include <sstream> when we need it
-rw-r--r-- | include/mbgl/util/string.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/mbgl/util/string.hpp b/include/mbgl/util/string.hpp index f8a63acdf9..c44a84a53a 100644 --- a/include/mbgl/util/string.hpp +++ b/include/mbgl/util/string.hpp @@ -1,6 +1,5 @@ #pragma once -#include <sstream> #include <string> #include <cassert> #include <cstdlib> @@ -9,6 +8,9 @@ // Polyfill needed by Qt when building for Android with GCC #if defined(__ANDROID__) && defined(__GLIBCXX__) +// TODO: remove use std::to_string to avoid using <sstream> +#include <sstream> + namespace std { template <typename T> |