Replace `unimpl` comments with `= delete`.
A handful of `unimpl`ed copy constructors were actually supplied as
{} instead of being left unimplemented, but they were not actually used.
Change-Id: I9b88173aeb0cc87f793ee40dfba1b5e5a06d7497
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/308565
Commit-Queue: John Stiles <johnstiles@google.com>
Commit-Queue: Mike Klein <mtklein@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
diff --git a/src/gpu/GrBaseContextPriv.h b/src/gpu/GrBaseContextPriv.h
index 8a08d7a..d22f71b 100644
--- a/src/gpu/GrBaseContextPriv.h
+++ b/src/gpu/GrBaseContextPriv.h
@@ -33,8 +33,8 @@
private:
explicit GrBaseContextPriv(GrContext_Base* context) : fContext(context) {}
- GrBaseContextPriv(const GrBaseContextPriv&); // unimpl
- GrBaseContextPriv& operator=(const GrBaseContextPriv&); // unimpl
+ GrBaseContextPriv(const GrBaseContextPriv&) = delete;
+ GrBaseContextPriv& operator=(const GrBaseContextPriv&) = delete;
// No taking addresses of this type.
const GrBaseContextPriv* operator&() const;