mirror of
https://github.com/nodejs/node.git
synced 2025-08-15 13:48:44 +02:00
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>
This commit is contained in:
parent
9f84d3eea8
commit
51ab98c71b
2 changed files with 2 additions and 2 deletions
|
@ -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.2',
|
'v8_embedder_string': '-node.3',
|
||||||
|
|
||||||
##### V8 defaults for Node.js #####
|
##### V8 defaults for Node.js #####
|
||||||
|
|
||||||
|
|
2
deps/v8/include/v8-persistent-handle.h
vendored
2
deps/v8/include/v8-persistent-handle.h
vendored
|
@ -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>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue