mirror of
https://github.com/nodejs/node.git
synced 2024-11-24 03:07:54 +01:00
deps: silence internal V8 deprecation warning
PR-URL: https://github.com/nodejs/node/pull/52293 Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Richard Lau <rlau@redhat.com> PR-URL: https://github.com/nodejs/node/pull/54077 Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
This commit is contained in:
parent
ed187faa64
commit
f626acc328
@ -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 #####
|
||||
|
||||
|
2
deps/v8/src/base/optional.h
vendored
2
deps/v8/src/base/optional.h
vendored
@ -16,7 +16,7 @@ namespace base {
|
||||
|
||||
// These aliases are deprecated, use std::optional directly.
|
||||
template <typename T>
|
||||
using Optional [[deprecated]] = std::optional<T>;
|
||||
using Optional = std::optional<T>;
|
||||
|
||||
using std::in_place;
|
||||
using std::make_optional;
|
||||
|
Loading…
Reference in New Issue
Block a user