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-29 01:21:08 +0300
commit7686b5a34f9146bb44919d1cd73214c2d86de44c (patch)
treea30035eb05b623487ec7f1e94245883edd88aaf6 /src/module_wrap.h
parentf5ef7cd22231987a73af9f02cc5f6c80b6dbbd9b (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/module_wrap.h')
-rw-r--r--src/module_wrap.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/module_wrap.h b/src/module_wrap.h
index ef20d255e91..bee4000d168 100644
--- a/src/module_wrap.h
+++ b/src/module_wrap.h
@@ -6,10 +6,12 @@
#include <unordered_map>
#include <string>
#include <vector>
-#include "node_url.h"
-#include "base_object-inl.h"
+#include "base_object.h"
namespace node {
+
+class Environment;
+
namespace loader {
enum ScriptType : int {