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:
authorAnna Henningsen <anna@addaleax.net>2019-11-18 16:49:56 +0300
committerAnna Henningsen <anna@addaleax.net>2019-11-30 15:15:23 +0300
commitbe84ceefb8f08c5cc4a8dc85275ca57d0b355a0d (patch)
treeaf7618ee700ebdf38140cf84441a2f16463f4750 /src/env.cc
parentbccfd124b069a3d4396bd8dba1bf2350383dea53 (diff)
src: clean up node_file.h
- Move inline functions into an `-inl.h` file - Move override function definitions into `.cc` files - Remove `using` statements from header files - Make data fields of classes private - Mark classes at the end of hierarchies as `final` This is also partially being done in an attempt to avoid a particular internal compiler error, see https://github.com/nodejs/node/pull/30475#issuecomment-554740850 for details. PR-URL: https://github.com/nodejs/node/pull/30530 Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'src/env.cc')
-rw-r--r--src/env.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/env.cc b/src/env.cc
index dc99e4bd532..bf3420f826f 100644
--- a/src/env.cc
+++ b/src/env.cc
@@ -11,6 +11,7 @@
#include "node_process.h"
#include "node_v8_platform-inl.h"
#include "node_worker.h"
+#include "req_wrap-inl.h"
#include "tracing/agent.h"
#include "tracing/traced_value.h"
#include "util-inl.h"
@@ -35,6 +36,7 @@ using v8::HandleScope;
using v8::Integer;
using v8::Isolate;
using v8::Local;
+using v8::MaybeLocal;
using v8::NewStringType;
using v8::Number;
using v8::Object;