Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
  • Loading branch information
danbev committed Apr 16, 2018
commit f301d31c9fd92f44044280ee67213ba6992cda14
2 changes: 1 addition & 1 deletion src/connect_wrap.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS

#include "env.h"
#include "req_wrap.h"
#include "req_wrap-inl.h"
#include "async_wrap.h"
#include "v8.h"

Expand Down
3 changes: 1 addition & 2 deletions src/stream_base.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS

#include "env.h"
#include "async_wrap.h"
#include "req_wrap-inl.h"
#include "async_wrap-inl.h"
#include "node.h"
#include "util.h"

Expand Down