diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2018-10-17 15:56:55 +0200 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2018-10-23 12:23:40 +0200 |
commit | eb828dfd2959f85191a452ced1532d39f6473ccb (patch) | |
tree | e44d1512b892ec88064fdfd4865cc61252018123 /include/mbgl | |
parent | 43687b4781cdcd7c4e299dc625263bc3982a529f (diff) | |
download | qtlocation-mapboxgl-eb828dfd2959f85191a452ced1532d39f6473ccb.tar.gz |
[core] add the ability to stringy numbers as hex
Diffstat (limited to 'include/mbgl')
-rw-r--r-- | include/mbgl/util/string.hpp | 2 |
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); |