summaryrefslogtreecommitdiff
path: root/include/mbgl/util
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2018-10-17 15:56:55 +0200
committerKonstantin Käfer <mail@kkaefer.com>2018-10-23 12:23:40 +0200
commiteb828dfd2959f85191a452ced1532d39f6473ccb (patch)
treee44d1512b892ec88064fdfd4865cc61252018123 /include/mbgl/util
parent43687b4781cdcd7c4e299dc625263bc3982a529f (diff)
downloadqtlocation-mapboxgl-eb828dfd2959f85191a452ced1532d39f6473ccb.tar.gz
[core] add the ability to stringy numbers as hex
Diffstat (limited to 'include/mbgl/util')
-rw-r--r--include/mbgl/util/string.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mbgl/util/string.hpp b/include/mbgl/util/string.hpp
index 1cca386e21..f8a63acdf9 100644
--- a/include/mbgl/util/string.hpp
+++ b/include/mbgl/util/string.hpp
@@ -53,6 +53,8 @@ std::string toString(float, bool decimal = false);
std::string toString(double, bool decimal = false);
std::string toString(long double, bool decimal = false);
+std::string toHex(size_t);
+
inline std::string toString(std::exception_ptr error) {
assert(error);