From f316cfca62048a18fde5a7479af791882598214f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Tue, 21 Jun 2022 08:22:30 +0200 Subject: [PATCH] deps: silence irrelevant V8 warnings --- deps/v8/include/v8-persistent-handle.h | 2 +- deps/v8/include/v8-wasm.h | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) 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 -struct V8_DEPRECATED("Use v8::Global instead") CopyablePersistentTraits { +struct CopyablePersistentTraits { using CopyablePersistent = Persistent>; static const bool kResetInDestructor = true; template diff --git a/deps/v8/include/v8-wasm.h b/deps/v8/include/v8-wasm.h index 8750bb61451..391b05f15bd 100644 --- a/deps/v8/include/v8-wasm.h +++ b/deps/v8/include/v8-wasm.h @@ -134,8 +134,7 @@ class V8_EXPORT WasmStreaming final { /** * Client to receive streaming event notifications. */ - class V8_DEPRECATE_SOON( - "Use SetMoreFunctionsCanBeSerializedCallback") Client { + class Client { public: virtual ~Client() = default;