Skip to content

Commit 8e969b6

Browse files
danbevjasnell
authored andcommitted
src: remove req_wrap-inl.h from stream_base.h
This commit removes the inclusion of req_wrap-inl.h in stream_base.h as ReqWrap is not used. This removal required stream_base.h to include async_wrap-inl.h so there is an implementation of BaseObject::object. The above change also affected connect_wrap, which needs to include req_wrap-inl.h to get an implementation of ReqWrap::Dispatched. PR-URL: #20063 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Tiancheng "Timothy" Gu <[email protected]>
1 parent 1396996 commit 8e969b6

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/connect_wrap.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS
55

66
#include "env.h"
7-
#include "req_wrap.h"
7+
#include "req_wrap-inl.h"
88
#include "async_wrap.h"
99
#include "v8.h"
1010

src/stream_base.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS
55

66
#include "env.h"
7-
#include "async_wrap.h"
8-
#include "req_wrap-inl.h"
7+
#include "async_wrap-inl.h"
98
#include "node.h"
109
#include "util.h"
1110

0 commit comments

Comments
 (0)