From 007726bec1bde64326ccc31723fc037a93e6e364 Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Sat, 2 Apr 2022 19:03:13 +0200 Subject: [PATCH] drop unused function --- src/uvw/fs.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/uvw/fs.h b/src/uvw/fs.h index 1adaa77f..2344b9f1 100644 --- a/src/uvw/fs.h +++ b/src/uvw/fs.h @@ -231,15 +231,6 @@ protected: } } - template - static void fs_generic_callback(uv_fs_t *req) { - if(auto ptr = request::reserve(req); req->result < 0) { - ptr->publish(error_event{req->result}); - } else { - ptr->publish(fs_event{req->path}); - } - } - public: using time = std::chrono::duration; using fs_type = details::uvw_fs_type;