summaryrefslogtreecommitdiff
path: root/src/guichan/include/guichan/event.hpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-10 00:38:27 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-10 00:38:27 +0300
commit75d9cadaf376cad8f7244ee4d4632e94c0ef3bc0 (patch)
treed740ed67b01e5de543026784c9b8e646b64328dd /src/guichan/include/guichan/event.hpp
parente066ec2e038405621a7de50e4cd735e548eb488d (diff)
downloadplus-75d9cadaf376cad8f7244ee4d4632e94c0ef3bc0.tar.gz
plus-75d9cadaf376cad8f7244ee4d4632e94c0ef3bc0.tar.bz2
plus-75d9cadaf376cad8f7244ee4d4632e94c0ef3bc0.tar.xz
plus-75d9cadaf376cad8f7244ee4d4632e94c0ef3bc0.zip
Delete copy constructor from guichan classes.
Diffstat (limited to 'src/guichan/include/guichan/event.hpp')
-rw-r--r--src/guichan/include/guichan/event.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/guichan/include/guichan/event.hpp b/src/guichan/include/guichan/event.hpp
index 1b52df8ed..f6cfe55d1 100644
--- a/src/guichan/include/guichan/event.hpp
+++ b/src/guichan/include/guichan/event.hpp
@@ -47,6 +47,8 @@
#include "guichan/platform.hpp"
+#include "localconsts.h"
+
namespace gcn
{
class Widget;
@@ -61,7 +63,6 @@ namespace gcn
class GCN_CORE_DECLSPEC Event
{
public:
-
/**
* Constructor.
*
@@ -69,6 +70,8 @@ namespace gcn
*/
Event(Widget *const source);
+ A_DELETE_COPY(Event);
+
/**
* Destructor.
*/