summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2018-10-17 15:57:52 +0200
committerKonstantin Käfer <mail@kkaefer.com>2018-10-23 12:23:40 +0200
commit2766e64973b5f9eadf2e8a1cbbe43334e3e76d76 (patch)
tree9200a0fff8f94c0dd9f21b98cceafde3640dbafb /include
parenteb828dfd2959f85191a452ced1532d39f6473ccb (diff)
downloadqtlocation-mapboxgl-2766e64973b5f9eadf2e8a1cbbe43334e3e76d76.tar.gz
[core] only include <sstream> when we need it
Diffstat (limited to 'include')
-rw-r--r--include/mbgl/util/string.hpp4
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>