From 3dcf21babe03cee5080a25e787e1d7e72124288e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 22 Sep 2012 01:34:49 +0300 Subject: Add final keyword to most classes. --- src/gui/widgets/layout.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gui/widgets/layout.h') 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(); -- cgit v1.2.3-60-g2f50