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:
authorRich Trott <rtrott@gmail.com>2020-10-20 16:54:39 +0300
committerRich Trott <rtrott@gmail.com>2020-10-23 13:47:50 +0300
commit4fb780334ded9ab805ac1064d5105b2a37734d4d (patch)
tree97c306fce8aee430d0367c31a4c3937553c5aa8b /doc/api/addons.md
parent3f4ec9c30b74f7fd4d8c8ab66090d6edee85300b (diff)
doc,src,test: revise C++ code for linter update
PR-URL: https://github.com/nodejs/node/pull/35719 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com>
Diffstat (limited to 'doc/api/addons.md')
-rw-r--r--doc/api/addons.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/addons.md b/doc/api/addons.md
index a2bee79cc3d..0d8261d7c66 100644
--- a/doc/api/addons.md
+++ b/doc/api/addons.md
@@ -271,9 +271,9 @@ The following `addon.cc` uses `AddEnvironmentCleanupHook`:
```cpp
// addon.cc
+#include <node.h>
#include <assert.h>
#include <stdlib.h>
-#include <node.h>
using node::AddEnvironmentCleanupHook;
using v8::HandleScope;