summaryrefslogtreecommitdiff
path: root/src/req_wrap.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/req_wrap.h')
-rw-r--r--src/req_wrap.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/req_wrap.h b/src/req_wrap.h
index 36eeb1cbc2..5d7fcb42d0 100644
--- a/src/req_wrap.h
+++ b/src/req_wrap.h
@@ -50,9 +50,10 @@ class ReqWrap : public AsyncWrap, public ReqWrapBase {
private:
friend int GenDebugSymbols();
- template <typename ReqT, typename U>
- friend struct MakeLibuvRequestCallback;
+ // Adding `friend struct MakeLibuvRequestCallback` is not enough anymore
+ // for some reason. Consider this private.
+ public:
typedef void (*callback_t)();
callback_t original_callback_ = nullptr;