From 1d3118ec21f537695dc0e6a9608acd67396d0a51 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 10 Oct 2012 03:29:39 +0300 Subject: Delete copy constructor from other classes. --- src/gui/statuswindow.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/gui/statuswindow.cpp') diff --git a/src/gui/statuswindow.cpp b/src/gui/statuswindow.cpp index 08efc3efa..4f287f8c2 100644 --- a/src/gui/statuswindow.cpp +++ b/src/gui/statuswindow.cpp @@ -61,6 +61,8 @@ class AttrDisplay : public Container UNKNOWN }; + A_DELETE_COPY(AttrDisplay); + ~AttrDisplay(); virtual std::string update(); @@ -92,6 +94,8 @@ class DerDisplay final : public AttrDisplay public: DerDisplay(const int id, const std::string &name); + A_DELETE_COPY(DerDisplay); + virtual Type getType() const { return DERIVED; } }; @@ -101,6 +105,8 @@ class ChangeDisplay final : public AttrDisplay, gcn::ActionListener public: ChangeDisplay(const int id, const std::string &name); + A_DELETE_COPY(ChangeDisplay); + std::string update(); virtual Type getType() const -- cgit v1.2.3-70-g09d2