Skip to content

Commit dc48d3d

Browse files
committed
Try pragma once
1 parent 1aa09d9 commit dc48d3d

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

.vscode/c_cpp_properties.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"name": "Win32",
55
"includePath": [
66
"${workspaceFolder}/**",
7-
"${LocalAppData}/node-gyp/Cache/16.17.0/include/node",
87
"${LocalAppData}/node-gyp/Cache/20.14.0/include/node",
98
"${LocalAppData}/node-gyp/Cache/22.9.0/include/node"
109
],

include/addon-tools.hpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
#ifndef ADDON_TOOLS_HPP
2-
#define ADDON_TOOLS_HPP
1+
#pragma once
32

43
#define NODE_ADDON_API_DISABLE_DEPRECATED
54
#define NAPI_DISABLE_CPP_EXCEPTIONS
@@ -695,5 +694,3 @@ private: \
695694
napi_wrap(env, wrapObj, instance, _finalizeEs5, nullptr, nullptr); \
696695
return info.Env().Undefined(); \
697696
}
698-
699-
#endif // ADDON_TOOLS_HPP

0 commit comments

Comments
 (0)