summaryrefslogtreecommitdiff
path: root/src/mbgl/util/thread_local.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/util/thread_local.hpp')
-rw-r--r--src/mbgl/util/thread_local.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/util/thread_local.hpp b/src/mbgl/util/thread_local.hpp
index 9fddbd5bbc..15d4d56524 100644
--- a/src/mbgl/util/thread_local.hpp
+++ b/src/mbgl/util/thread_local.hpp
@@ -32,7 +32,7 @@ public:
}
T* get() {
- T* ret = reinterpret_cast<T*>(pthread_getspecific(key));
+ auto* ret = reinterpret_cast<T*>(pthread_getspecific(key));
if (!ret) {
return nullptr;
}