Build with gcc 4.9

This commit is contained in:
John Firebaugh
2015-05-02 15:12:15 -04:00
parent 539d1be219
commit 2b0892aaaa
4 changed files with 9 additions and 10 deletions

View File

@@ -75,8 +75,8 @@ public:
}
inline ~handle() {
uv_close(t.release(), [](uv_handle_t* handle) {
delete reinterpret_cast<T*>(handle);
uv_close(t.release(), [](uv_handle_t* h) {
delete reinterpret_cast<T*>(h);
});
}