Remove unused

This commit is contained in:
John Firebaugh
2014-11-26 16:34:03 -08:00
parent 0d5e1339ef
commit f91322cf4a
2 changed files with 0 additions and 17 deletions

View File

@@ -12,11 +12,6 @@ namespace uv {
std::string cwd();
struct deleter {
void operator()(uv_async_t *async);
void operator()(uv_timer_t *timer);
};
class thread;
class rwlock;
class loop;

View File

@@ -22,16 +22,4 @@ std::string cwd() {
#endif
}
void deleter::operator()(uv_async_t *async) {
uv_close((uv_handle_t *)async, [](uv_handle_t *handle) {
delete (uv_async_t *)handle;
});
}
void deleter::operator()(uv_timer_t *timer) {
uv_close((uv_handle_t *)timer, [](uv_handle_t *handle) {
delete (uv_timer_t *)handle;
});
}
}