summaryrefslogtreecommitdiff
path: root/src/gui/cliprect.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-14 03:09:18 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-14 03:09:18 +0300
commit11a02af132567b6ef709ce0b20113375dcad5db7 (patch)
treeb0c1813df42858b8948c984202968eda7e3e4645 /src/gui/cliprect.h
parent3206e9b2b839c603a6857a80f73fc814647e2fbc (diff)
downloadmanaplus-11a02af132567b6ef709ce0b20113375dcad5db7.tar.gz
manaplus-11a02af132567b6ef709ce0b20113375dcad5db7.tar.bz2
manaplus-11a02af132567b6ef709ce0b20113375dcad5db7.tar.xz
manaplus-11a02af132567b6ef709ce0b20113375dcad5db7.zip
Remove copy constructor from ClipRect class.
Diffstat (limited to 'src/gui/cliprect.h')
-rw-r--r--src/gui/cliprect.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/gui/cliprect.h b/src/gui/cliprect.h
index 44ab6f01b..c4ef23600 100644
--- a/src/gui/cliprect.h
+++ b/src/gui/cliprect.h
@@ -103,14 +103,7 @@ class ClipRect final : public Rect
const int xOffset0,
const int yOffset0);
- /**
- * Copy constructor. Copies x, y, width and height
- * field from a rectangle to a clip rectangle.
- *
- * @param other The rectangle to copy data from.
- * @returns A clip rectangle with data copyied from a rectangle.
- */
- const ClipRect& operator=(const Rect& other);
+ A_DELETE_COPY(ClipRect)
/**
* Holds the x offset of the x coordinate.