summaryrefslogtreecommitdiff
path: root/src/mbgl/util/string.cpp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2019-04-02 14:11:37 +0200
committerKonstantin Käfer <mail@kkaefer.com>2019-05-15 11:57:43 -0700
commitda5bd4d6e3a0202cc4f9e4d3d17e159eb90acba6 (patch)
tree9450b28ea53804129de6cc049404bbef2b83778c /src/mbgl/util/string.cpp
parentd5e7fabf455d3e8e6cb852fa544649c8012d70ed (diff)
downloadqtlocation-mapboxgl-da5bd4d6e3a0202cc4f9e4d3d17e159eb90acba6.tar.gz
[core] use unique IDs for DrawScopes
Diffstat (limited to 'src/mbgl/util/string.cpp')
-rw-r--r--src/mbgl/util/string.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mbgl/util/string.cpp b/src/mbgl/util/string.cpp
index 5d3e44bff6..6f7e02e5e2 100644
--- a/src/mbgl/util/string.cpp
+++ b/src/mbgl/util/string.cpp
@@ -80,7 +80,11 @@ std::string toPaddedHex(T x) {
} // namespace
-std::string toHex(size_t value) {
+std::string toHex(uint32_t value) {
+ return toPaddedHex(value);
+}
+
+std::string toHex(uint64_t value) {
return toPaddedHex(value);
}