summaryrefslogtreecommitdiffstats
path: root/external/skia/Wdeprecated-copy-dtor.patch.0
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 16:51:28 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 16:51:28 +0000
commit940b4d1848e8c70ab7642901a68594e8016caffc (patch)
treeeb72f344ee6c3d9b80a7ecc079ea79e9fba8676d /external/skia/Wdeprecated-copy-dtor.patch.0
parentInitial commit. (diff)
downloadlibreoffice-940b4d1848e8c70ab7642901a68594e8016caffc.tar.xz
libreoffice-940b4d1848e8c70ab7642901a68594e8016caffc.zip
Adding upstream version 1:7.0.4.upstream/1%7.0.4upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'external/skia/Wdeprecated-copy-dtor.patch.0')
-rw-r--r--external/skia/Wdeprecated-copy-dtor.patch.021
1 files changed, 21 insertions, 0 deletions
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<int32_t>& 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: