Remove SkAutoDescriptor move ctor
Change-Id: I290a3bcac74e64c8aa11e7b1664cbb54111541eb Reviewed-on: https://skia-review.googlesource.com/145422 Auto-Submit: Herb Derby <herb@google.com> Commit-Queue: Ben Wagner <bungeman@google.com> Reviewed-by: Ben Wagner <bungeman@google.com>
This commit is contained in:
parent
e42dc2dbd9
commit
71fe8baccc
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user