mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00: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/52465 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com>
This commit is contained in:
committed by
Node.js GitHub Bot
parent
c046e0785e
commit
84aeeff06a
@@ -37,7 +37,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.6',
|
||||
'v8_embedder_string': '-node.7',
|
||||
|
||||
##### 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;
|
||||
|
||||
Reference in New Issue
Block a user