From da35f64f09c8dc77b8bbc4add5189ada388aa27e Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Fri, 31 Mar 2017 13:05:55 -0700 Subject: [PATCH] [core] Remove unused ThreadLocal constructor --- src/mbgl/util/thread_local.hpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/mbgl/util/thread_local.hpp b/src/mbgl/util/thread_local.hpp index e6afc599c..9fddbd5bb 100644 --- a/src/mbgl/util/thread_local.hpp +++ b/src/mbgl/util/thread_local.hpp @@ -14,11 +14,6 @@ namespace util { template class ThreadLocal : public noncopyable { public: - ThreadLocal(T* val) { - ThreadLocal(); - set(val); - } - ThreadLocal() { int ret = pthread_key_create(&key, [](void *ptr) { delete reinterpret_cast(ptr);