Skip to content

Commit

Permalink
deps: silence internal V8 deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
targos committed Apr 17, 2024
1 parent c254212 commit 2311cfe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion common.gypi
Expand Up @@ -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.7',
'v8_embedder_string': '-node.8',

##### V8 defaults for Node.js #####

Expand Down
2 changes: 1 addition & 1 deletion deps/v8/src/base/optional.h
Expand Up @@ -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;
Expand Down

0 comments on commit 2311cfe

Please sign in to comment.