From eb828dfd2959f85191a452ced1532d39f6473ccb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20K=C3=A4fer?= Date: Wed, 17 Oct 2018 15:56:55 +0200 Subject: [core] add the ability to stringy numbers as hex --- include/mbgl/util/string.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/mbgl/util') 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); -- cgit v1.2.1