diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2017-03-31 13:05:55 -0700 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2017-04-03 14:27:41 +0300 |
commit | da35f64f09c8dc77b8bbc4add5189ada388aa27e (patch) | |
tree | 1a6e1e00000b3aba9f1ebc6e27a58eabfd7db56f /src/mbgl/util | |
parent | 74ff4354623a644eb3c293ec818cebbf9c45077c (diff) | |
download | qtlocation-mapboxgl-da35f64f09c8dc77b8bbc4add5189ada388aa27e.tar.gz |
[core] Remove unused ThreadLocal constructor
Diffstat (limited to 'src/mbgl/util')
-rw-r--r-- | src/mbgl/util/thread_local.hpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mbgl/util/thread_local.hpp b/src/mbgl/util/thread_local.hpp index e6afc599ca..9fddbd5bbc 100644 --- a/src/mbgl/util/thread_local.hpp +++ b/src/mbgl/util/thread_local.hpp @@ -14,11 +14,6 @@ namespace util { template <class T> class ThreadLocal : public noncopyable { public: - ThreadLocal(T* val) { - ThreadLocal(); - set(val); - } - ThreadLocal() { int ret = pthread_key_create(&key, [](void *ptr) { delete reinterpret_cast<T *>(ptr); |