From bbb77434630c2a316542f379f519088a19ef2994 Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Wed, 26 Nov 2014 16:41:58 -0800 Subject: [PATCH] Remove unused --- include/mbgl/util/uv_detail.hpp | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/include/mbgl/util/uv_detail.hpp b/include/mbgl/util/uv_detail.hpp index 2501a9f3e..7b9abc6c5 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) {