summaryrefslogtreecommitdiff
path: root/src/gui/base/widget.hpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-19 01:18:16 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-20 00:49:07 +0300
commit26f9aad24bc50d4e9fd161d185df049c9e7a62cf (patch)
treed8fd87aef6395b5a4704e9570fcbcddcc8ccca83 /src/gui/base/widget.hpp
parent50b5afdb7e68cdec8f77020b578dc3f6874933bb (diff)
downloadmv-26f9aad24bc50d4e9fd161d185df049c9e7a62cf.tar.gz
mv-26f9aad24bc50d4e9fd161d185df049c9e7a62cf.tar.bz2
mv-26f9aad24bc50d4e9fd161d185df049c9e7a62cf.tar.xz
mv-26f9aad24bc50d4e9fd161d185df049c9e7a62cf.zip
improve includes.
Diffstat (limited to 'src/gui/base/widget.hpp')
-rw-r--r--src/gui/base/widget.hpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gui/base/widget.hpp b/src/gui/base/widget.hpp
index 013ead3b8..6245d3c98 100644
--- a/src/gui/base/widget.hpp
+++ b/src/gui/base/widget.hpp
@@ -89,8 +89,6 @@ class WidgetListener;
namespace gcn
{
- class BasicContainer;
-
/**
* Abstract class for widgets of Guichan. It contains basic functions
* every widget should have.
@@ -110,7 +108,7 @@ namespace gcn
* focusable as default, therefore, widgets that are supposed to be
* focusable should overide this default in their own constructor.
*/
- Widget(const Widget2 *const widget);
+ explicit Widget(const Widget2 *const widget);
A_DELETE_COPY(Widget)