From e066ec2e038405621a7de50e4cd735e548eb488d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 10 Oct 2012 00:16:37 +0300 Subject: Delete copy constructor in some classes. --- src/gui/widgets/window.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gui/widgets/window.h') diff --git a/src/gui/widgets/window.h b/src/gui/widgets/window.h index 6739b5186..f97662534 100644 --- a/src/gui/widgets/window.h +++ b/src/gui/widgets/window.h @@ -61,6 +61,8 @@ class Window : public gcn::Window, private gcn::WidgetListener Window(const std::string &caption = "Window", const bool modal = false, Window *const parent = nullptr, std::string skin = ""); + A_DELETE_COPY(Window); + /** * Destructor. Deletes all the added widgets. */ -- cgit v1.2.3-60-g2f50