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:
authorRefael Ackermann <refack@gmail.com>2019-02-25 23:42:28 +0300
committerRefael Ackermann <refack@gmail.com>2019-03-04 04:03:31 +0300
commit2c6d94f3db89ed4dfa3e68e7e945c10e3662ea41 (patch)
tree2ef84cb998275f475d1812f94ca9a59cbeacd583 /src/node_process_object.cc
parentaf8b92c0731603e5337cca3202603402d345c0a9 (diff)
src: fix warnings around node_options
* header explicit usage, order, and reduce use of `*-inl.h` * pointer -> const reference when possible * no variable recyclicng * `std::begin/end` prefered over `instance.begin/end` * `USE` for explicit unused resaults PR-URL: https://github.com/nodejs/node/pull/26280 Fixes: https://github.com/nodejs/node/issues/25593 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Diffstat (limited to 'src/node_process_object.cc')
-rw-r--r--src/node_process_object.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/node_process_object.cc b/src/node_process_object.cc
index cbec233c27d..1b0aad3029c 100644
--- a/src/node_process_object.cc
+++ b/src/node_process_object.cc
@@ -1,5 +1,3 @@
-#include <climits> // PATH_MAX
-
#include "env-inl.h"
#include "node_internals.h"
#include "node_options-inl.h"
@@ -8,6 +6,8 @@
#include "node_revert.h"
#include "util-inl.h"
+#include <climits> // PATH_MAX
+
namespace node {
using v8::Context;
using v8::DEFAULT;