From 71fe8baccc01c9500fa258964dc0504eb4d661be Mon Sep 17 00:00:00 2001 From: Herb Derby Date: Fri, 3 Aug 2018 17:09:38 -0400 Subject: [PATCH] Remove SkAutoDescriptor move ctor Change-Id: I290a3bcac74e64c8aa11e7b1664cbb54111541eb Reviewed-on: https://skia-review.googlesource.com/145422 Auto-Submit: Herb Derby Commit-Queue: Ben Wagner Reviewed-by: Ben Wagner --- src/core/SkDescriptor.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/SkDescriptor.h b/src/core/SkDescriptor.h index c0aff735d7..639efb58ee 100644 --- a/src/core/SkDescriptor.h +++ b/src/core/SkDescriptor.h @@ -158,6 +158,8 @@ public: SkDescriptor* getDesc() const { SkASSERT(fDesc); return fDesc; } private: + SkAutoDescriptor(SkAutoDescriptor&&) = delete; + SkAutoDescriptor& operator =(SkAutoDescriptor&&) = delete; void free() { if (fDesc != (SkDescriptor*)(void*)fStorage) { delete fDesc;