Remove unused

This commit is contained in:
John Firebaugh
2014-11-26 16:41:58 -08:00
parent f91322cf4a
commit bbb7743463

View File

@@ -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) {