summaryrefslogtreecommitdiff
path: root/deps/v8
diff options
context:
space:
mode:
authorMichaël Zasso <targos@protonmail.com>2022-06-21 08:22:30 +0200
committerNode.js GitHub Bot <github-bot@iojs.org>2023-03-31 14:15:28 +0000
commita7c129f28695c694203a9c70ec74fa65dc1b3918 (patch)
treebeca414808142a6dcfeac501dfe5e176d1f9cb69 /deps/v8
parent6f5655a18e51f739b382cc99083156ac3f9724c3 (diff)
downloadnode-new-a7c129f28695c694203a9c70ec74fa65dc1b3918.tar.gz
deps: silence irrelevant V8 warning
PR-URL: https://github.com/nodejs/node/pull/45579 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> PR-URL: https://github.com/nodejs/node/pull/47251 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Richard Lau <rlau@redhat.com>
Diffstat (limited to 'deps/v8')
-rw-r--r--deps/v8/include/v8-persistent-handle.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/v8/include/v8-persistent-handle.h b/deps/v8/include/v8-persistent-handle.h
index 08c1e22926..fbae1aa6f2 100644
--- a/deps/v8/include/v8-persistent-handle.h
+++ b/deps/v8/include/v8-persistent-handle.h
@@ -255,7 +255,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>