diff options
author | Michaël Zasso <targos@protonmail.com> | 2022-06-21 09:22:30 +0300 |
---|---|---|
committer | Michaël Zasso <targos@protonmail.com> | 2022-11-11 13:39:50 +0300 |
commit | c829e754783c2d7e0b76988c69e6c19062c21c1f (patch) | |
tree | e4c5f3b8b4e7bfe13f902af8b40bf1e36627ac06 | |
parent | 0b0d9a7769abd0183c880817b192588c6a75020d (diff) |
deps: silence irrelevant V8 warning
-rw-r--r-- | common.gypi | 2 | ||||
-rw-r--r-- | deps/v8/include/v8-persistent-handle.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/common.gypi b/common.gypi index 1442d60c94c..95176802398 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.2', + 'v8_embedder_string': '-node.3', ##### V8 defaults for Node.js ##### diff --git a/deps/v8/include/v8-persistent-handle.h b/deps/v8/include/v8-persistent-handle.h index 4fe79862e40..dbda4edb9ba 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> |