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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/req_wrap.h b/src/req_wrap.h
index ddd0840aad..656be38dce 100644
--- a/src/req_wrap.h
+++ b/src/req_wrap.h
@@ -20,6 +20,8 @@ class ReqWrap : public AsyncWrap {
inline void Dispatched(); // Call this after the req has been dispatched.
T* req() { return &req_; }
+ static ReqWrap* from_req(T* req);
+
private:
friend class Environment;
friend int GenDebugSymbols();