diff --git a/common.gypi b/common.gypi index 9d4d89afcd5..56c79543a5c 100644 --- a/common.gypi +++ b/common.gypi @@ -36,7 +36,7 @@ # Reset this number to 0 on major V8 upgrades. # Increment by one for each non-official patch applied to deps/v8. - 'v8_embedder_string': '-node.8', + 'v8_embedder_string': '-node.9', ##### V8 defaults for Node.js ##### diff --git a/deps/v8/include/v8config.h b/deps/v8/include/v8config.h index 4a6f255b38a..86b41a5b3cf 100644 --- a/deps/v8/include/v8config.h +++ b/deps/v8/include/v8config.h @@ -671,7 +671,7 @@ path. Add it with -I to the command line // V8_NODISCARD Foo() { ... }; // [[nodiscard]] comes in C++17 but supported in clang with -std >= c++11. #if V8_HAS_CPP_ATTRIBUTE_NODISCARD -#define V8_NODISCARD [[nodiscard]] +#define V8_NODISCARD #else #define V8_NODISCARD /* NOT SUPPORTED */ #endif