aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/XPM.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/XPM.h')
-rw-r--r--src/XPM.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/XPM.h b/src/XPM.h
index b7b19014e..f41b9d184 100644
--- a/src/XPM.h
+++ b/src/XPM.h
@@ -43,9 +43,9 @@ private:
* A translucent image stored as a sequence of RGBA bytes.
*/
class RGBAImage {
- // Private so RGBAImage objects can not be copied
- RGBAImage(const RGBAImage &);
- RGBAImage &operator=(const RGBAImage &);
+ // Deleted so RGBAImage objects can not be copied
+ RGBAImage(const RGBAImage &) = delete;
+ RGBAImage &operator=(const RGBAImage &) = delete;
int height;
int width;
float scale;