summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichaël Zasso <targos@protonmail.com>2022-06-21 08:22:30 +0200
committerMichaël Zasso <targos@protonmail.com>2022-10-11 07:26:28 +0200
commit7a952e8ea52cfdd768f4b2e22d3b23cd1194d922 (patch)
tree6f165f084115ece665984df463fa7656e0368266
parent84d455e08e4129f7d1b3c68d62cbb129458619ec (diff)
downloadnode-new-7a952e8ea52cfdd768f4b2e22d3b23cd1194d922.tar.gz
deps: silence irrelevant V8 warning
PR-URL: https://github.com/nodejs/node/pull/44741 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
-rw-r--r--common.gypi2
-rw-r--r--deps/v8/include/v8-persistent-handle.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/common.gypi b/common.gypi
index 70006682bc..35495c8285 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/include/v8-persistent-handle.h b/deps/v8/include/v8-persistent-handle.h
index 4fe79862e4..dbda4edb9b 100644
--- a/deps/v8/include/v8-persistent-handle.h
+++ b/deps/v8/include/v8-persistent-handle.h
@@ -252,7 +252,7 @@ class NonCopyablePersistentTraits {
* This will clone the contents of storage cell, but not any of the flags, etc.
*/
template <class T>
-struct V8_DEPRECATED("Use v8::Global instead") CopyablePersistentTraits {
+struct CopyablePersistentTraits {
using CopyablePersistent = Persistent<T, CopyablePersistentTraits<T>>;
static const bool kResetInDestructor = true;
template <class S, class M>