summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2014-11-26 16:41:58 -0800
committerJohn Firebaugh <john.firebaugh@gmail.com>2014-11-26 16:41:58 -0800
commitbbb77434630c2a316542f379f519088a19ef2994 (patch)
tree06021324bcd1175e9831c8b94b5d3f9d91b5c5c6 /include
parentf91322cf4aedc1842e24518ec16c76139e14d603 (diff)
downloadqtlocation-mapboxgl-bbb77434630c2a316542f379f519088a19ef2994.tar.gz
Remove unused
Diffstat (limited to 'include')
-rw-r--r--include/mbgl/util/uv_detail.hpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/include/mbgl/util/uv_detail.hpp b/include/mbgl/util/uv_detail.hpp
index 2501a9f3e0..7b9abc6c56 100644
--- a/include/mbgl/util/uv_detail.hpp
+++ b/include/mbgl/util/uv_detail.hpp
@@ -112,17 +112,6 @@ private:
rwlock &mtx;
};
-class once {
-public:
- typedef void (*callback)();
- void operator()(void (*callback)(void)) {
- uv_once(&o, callback);
- }
-
-private:
- uv_once_t o = UV_ONCE_INIT;
-};
-
class worker {
public:
inline worker(uv_loop_t *loop, unsigned int count, const char *name = nullptr) : w(new uv_worker_t) {