summaryrefslogtreecommitdiff
path: root/external/skia/Wdeprecated-copy-dtor.patch.0
blob: 710fe9c249d9575a01e4ec37733229a75165805e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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: