summaryrefslogtreecommitdiff
path: root/src/gui/widgets/layout.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-09-22 01:34:49 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-22 01:34:49 +0300
commit3dcf21babe03cee5080a25e787e1d7e72124288e (patch)
tree7051c6beddd3e7e1de960bb84e46601db8e2e5c4 /src/gui/widgets/layout.h
parentc217b7141df580b686a0eef085bd0eb0a8e6771a (diff)
downloadplus-3dcf21babe03cee5080a25e787e1d7e72124288e.tar.gz
plus-3dcf21babe03cee5080a25e787e1d7e72124288e.tar.bz2
plus-3dcf21babe03cee5080a25e787e1d7e72124288e.tar.xz
plus-3dcf21babe03cee5080a25e787e1d7e72124288e.zip
Add final keyword to most classes.
Diffstat (limited to 'src/gui/widgets/layout.h')
-rw-r--r--src/gui/widgets/layout.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/widgets/layout.h b/src/gui/widgets/layout.h
index 71de85320..beccfcb01 100644
--- a/src/gui/widgets/layout.h
+++ b/src/gui/widgets/layout.h
@@ -34,7 +34,7 @@ class LayoutCell;
/**
* This class is a helper for adding widgets to nested tables in a window.
*/
-class ContainerPlacer
+class ContainerPlacer final
{
public:
ContainerPlacer(gcn::Container *c = nullptr, LayoutCell *lc = nullptr):
@@ -67,7 +67,7 @@ class ContainerPlacer
/**
* This class contains a rectangular array of cells.
*/
-class LayoutArray
+class LayoutArray final
{
friend class LayoutCell;
@@ -331,7 +331,7 @@ class LayoutCell
* pixels between rows and between columns, and a margin of 6 pixels around the
* whole layout.
*/
-class Layout : public LayoutCell
+class Layout final : public LayoutCell
{
public:
Layout();