We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
node::ObjectWrap
1 parent 5e12408 commit 53750f5Copy full SHA for 53750f5
1 file changed
src/node_object_wrap.h
@@ -22,9 +22,8 @@
22
#ifndef SRC_NODE_OBJECT_WRAP_H_
23
#define SRC_NODE_OBJECT_WRAP_H_
24
25
-#include "node.h"
26
#include <cassert>
27
-
+#include "node.h"
28
29
namespace node {
30
@@ -135,9 +134,7 @@ class ObjectWrap {
135
134
RemoveEnvironmentCleanupHook(v8::Isolate::GetCurrent(), CleanupHook, this);
136
}
137
138
- static void CleanupHook(void* arg) {
139
- delete static_cast<ObjectWrap*>(arg);
140
- }
+ static void CleanupHook(void* arg) { delete static_cast<ObjectWrap*>(arg); }
141
142
// NOLINTNEXTLINE(runtime/v8_persistent)
143
v8::Persistent<v8::Object> handle_;
0 commit comments