Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Ferrando <alferpal@gmail.com>2019-11-07 22:34:36 +0300
committerAnna Henningsen <anna@addaleax.net>2019-11-30 05:57:55 +0300
commit8ec0d75de76debf84d2340d2116eedab15ae5026 (patch)
tree478cb23f87ef04eb4cc39d9bbdc32d252a501ddf /src/connect_wrap.cc
parent2cf8a7f117ea2d9a510439ae39d9567b1eb3425b (diff)
src: cleanup unused headers
Node codebase has evolved a lot in the more than 10 years of its existence. As more features (and code) have been added, changed, removed, it's sometimes hard to keep track of what gets used and what not. This commits attempts to clean some of those potentially left-over headers using suggestions from include-what-you-use Refs: https://github.com/nodejs/node/issues/27531 PR-URL: https://github.com/nodejs/node/pull/30328 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'src/connect_wrap.cc')
-rw-r--r--src/connect_wrap.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/connect_wrap.cc b/src/connect_wrap.cc
index dacdf72da7c..e1d34c11a70 100644
--- a/src/connect_wrap.cc
+++ b/src/connect_wrap.cc
@@ -1,14 +1,12 @@
#include "connect_wrap.h"
-
-#include "env-inl.h"
#include "req_wrap-inl.h"
-#include "util-inl.h"
namespace node {
using v8::Local;
using v8::Object;
+class Environment;
ConnectWrap::ConnectWrap(Environment* env,
Local<Object> req_wrap_obj,