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>
This commit is contained in:
Michaël Zasso 2022-06-21 08:22:30 +02:00
parent 84d455e08e
commit 7a952e8ea5
No known key found for this signature in database
GPG key ID: 770F7A9A5AE15600
2 changed files with 2 additions and 2 deletions

View file

@ -36,7 +36,7 @@
# Reset this number to 0 on major V8 upgrades. # Reset this number to 0 on major V8 upgrades.
# Increment by one for each non-official patch applied to deps/v8. # 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 ##### ##### V8 defaults for Node.js #####

View file

@ -252,7 +252,7 @@ class NonCopyablePersistentTraits {
* This will clone the contents of storage cell, but not any of the flags, etc. * This will clone the contents of storage cell, but not any of the flags, etc.
*/ */
template <class T> template <class T>
struct V8_DEPRECATED("Use v8::Global instead") CopyablePersistentTraits { struct CopyablePersistentTraits {
using CopyablePersistent = Persistent<T, CopyablePersistentTraits<T>>; using CopyablePersistent = Persistent<T, CopyablePersistentTraits<T>>;
static const bool kResetInDestructor = true; static const bool kResetInDestructor = true;
template <class S, class M> template <class S, class M>