aboutsummaryrefslogtreecommitdiff
path: root/src/node_config.cc
diff options
context:
space:
mode:
authorRefael Ackermann <refack@gmail.com>2019-02-25 15:42:28 -0500
committerRefael Ackermann <refack@gmail.com>2019-03-03 20:03:31 -0500
commit2c6d94f3db89ed4dfa3e68e7e945c10e3662ea41 (patch)
tree2ef84cb998275f475d1812f94ca9a59cbeacd583 /src/node_config.cc
parentaf8b92c0731603e5337cca3202603402d345c0a9 (diff)
downloadandroid-node-v8-2c6d94f3db89ed4dfa3e68e7e945c10e3662ea41.tar.gz
android-node-v8-2c6d94f3db89ed4dfa3e68e7e945c10e3662ea41.tar.bz2
android-node-v8-2c6d94f3db89ed4dfa3e68e7e945c10e3662ea41.zip
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_config.cc')
-rw-r--r--src/node_config.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node_config.cc b/src/node_config.cc
index f1aa748bf5..b89a668419 100644
--- a/src/node_config.cc
+++ b/src/node_config.cc
@@ -1,7 +1,7 @@
#include "env-inl.h"
#include "node.h"
#include "node_i18n.h"
-#include "node_options-inl.h"
+#include "node_options.h"
#include "util-inl.h"
namespace node {