From 940b4d1848e8c70ab7642901a68594e8016caffc Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 27 Apr 2024 18:51:28 +0200 Subject: Adding upstream version 1:7.0.4. Signed-off-by: Daniel Baumann --- external/skia/Wdeprecated-copy-dtor.patch.0 | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 external/skia/Wdeprecated-copy-dtor.patch.0 (limited to 'external/skia/Wdeprecated-copy-dtor.patch.0') diff --git a/external/skia/Wdeprecated-copy-dtor.patch.0 b/external/skia/Wdeprecated-copy-dtor.patch.0 new file mode 100644 index 000000000..710fe9c24 --- /dev/null +++ b/external/skia/Wdeprecated-copy-dtor.patch.0 @@ -0,0 +1,21 @@ +--- include/gpu/GrDriverBugWorkarounds.h ++++ include/gpu/GrDriverBugWorkarounds.h +@@ -35,6 +35,7 @@ + public: + GrDriverBugWorkarounds(); + explicit GrDriverBugWorkarounds(const std::vector& workarounds); ++ GrDriverBugWorkarounds(GrDriverBugWorkarounds const &) = default; + + GrDriverBugWorkarounds& operator=(const GrDriverBugWorkarounds&) = default; + +--- tools/sk_app/VulkanWindowContext.h ++++ tools/sk_app/VulkanWindowContext.h +@@ -33,6 +33,8 @@ + SharedGrContext() {} + GrContext* getGrContext() { return shared ? shared->fContext.get() : nullptr; } + ~SharedGrContext() { shared.reset(); checkDestroyShared(); } ++ SharedGrContext(SharedGrContext const &) = default; ++ SharedGrContext & operator =(SharedGrContext const &) = default; + bool operator!() const { return !shared; } + void reset() { shared.reset(); } + private: -- cgit v1.2.3