Skip to content

Commit

Permalink
Try pragma once
Browse files Browse the repository at this point in the history
  • Loading branch information
raub committed Oct 28, 2024
1 parent 1aa09d9 commit dc48d3d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion .vscode/c_cpp_properties.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"name": "Win32",
"includePath": [
"${workspaceFolder}/**",
"${LocalAppData}/node-gyp/Cache/16.17.0/include/node",
"${LocalAppData}/node-gyp/Cache/20.14.0/include/node",
"${LocalAppData}/node-gyp/Cache/22.9.0/include/node"
],
Expand Down
5 changes: 1 addition & 4 deletions include/addon-tools.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#ifndef ADDON_TOOLS_HPP
#define ADDON_TOOLS_HPP
#pragma once

#define NODE_ADDON_API_DISABLE_DEPRECATED
#define NAPI_DISABLE_CPP_EXCEPTIONS
Expand Down Expand Up @@ -695,5 +694,3 @@ private: \
napi_wrap(env, wrapObj, instance, _finalizeEs5, nullptr, nullptr); \
return info.Env().Undefined(); \
}

#endif // ADDON_TOOLS_HPP

0 comments on commit dc48d3d

Please sign in to comment.