From f626acc328756fb37c5f32fa375adb6f400f63f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Mon, 11 Mar 2024 10:30:53 +0000 Subject: [PATCH] deps: silence internal V8 deprecation warning PR-URL: https://github.com/nodejs/node/pull/52293 Reviewed-By: Moshe Atlow Reviewed-By: Rafael Gonzaga Reviewed-By: Richard Lau PR-URL: https://github.com/nodejs/node/pull/54077 Reviewed-By: Jiawen Geng Reviewed-By: Joyee Cheung Reviewed-By: Marco Ippolito --- common.gypi | 2 +- deps/v8/src/base/optional.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common.gypi b/common.gypi index bd91c2692f7..f2d3ed4730f 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.4', + 'v8_embedder_string': '-node.5', ##### V8 defaults for Node.js ##### diff --git a/deps/v8/src/base/optional.h b/deps/v8/src/base/optional.h index 6ad1b6f7429..26ce8384429 100644 --- a/deps/v8/src/base/optional.h +++ b/deps/v8/src/base/optional.h @@ -16,7 +16,7 @@ namespace base { // These aliases are deprecated, use std::optional directly. template -using Optional [[deprecated]] = std::optional; +using Optional = std::optional; using std::in_place; using std::make_optional;