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.
1 parent 2fcea5b commit b6a77b3Copy full SHA for b6a77b3
Core/Node-API/Include/Shared/napi/napi.h
@@ -36,9 +36,6 @@
36
#endif // NAPI_HAS_THREADS
37
#include <string>
38
#include <vector>
39
-#ifdef NAPI_CPP_EXCEPTIONS
40
-#include <exception>
41
-#endif // NAPI_CPP_EXCEPTIONS
42
43
// VS2015 RTM has bugs with constexpr, so require min of VS2015 Update 3 (known
44
// good version)
@@ -82,7 +79,7 @@ static_assert(sizeof(char16_t) == sizeof(wchar_t),
82
79
#endif
83
80
84
81
#ifdef NAPI_CPP_EXCEPTIONS
85
-
+#include <exception>
86
// When C++ exceptions are enabled, Errors are thrown directly. There is no need
87
// to return anything after the throw statements. The variadic parameter is an
88
// optional return value that is ignored.
0 commit comments