summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2013-09-21 15:49:44 +0200
committerFridrich Štrba <fridrich.strba@bluewin.ch>2013-09-24 16:26:08 +0200
commitb7a6a604033820668b59ea9ae2de34561faefe31 (patch)
treec58211a4020d6665b45a5dbef89449a5a6fe7561
parent3f4be8494d9b6916b669e01436722ee9c25cc996 (diff)
WaE: disable copying
-rw-r--r--src/lib/PictBitmap.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/PictBitmap.cpp b/src/lib/PictBitmap.cpp
index f8ef45e..78bcd12 100644
--- a/src/lib/PictBitmap.cpp
+++ b/src/lib/PictBitmap.cpp
@@ -63,6 +63,10 @@ void writeU8(unsigned char *buffer, unsigned &position, const int value)
class libpict::PictBitmap::Private
{
+ // disable copying
+ Private(const Private &other);
+ Private &operator=(const Private &other);
+
public:
int width;
int height;