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/chatwindow.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/gui/chatwindow.h') diff --git a/src/gui/chatwindow.h b/src/gui/chatwindow.h index 4d4b249e6..db3d496c3 100644 --- a/src/gui/chatwindow.h +++ b/src/gui/chatwindow.h @@ -72,7 +72,7 @@ enum Own }; /** One item in the chat log */ -struct CHATLOG +struct CHATLOG final { std::string nick; std::string text; @@ -84,11 +84,11 @@ struct CHATLOG * * \ingroup Interface */ -class ChatWindow : public Window, - public gcn::ActionListener, - public gcn::KeyListener, - public Listener, - public ConfigListener +class ChatWindow final : public Window, + public gcn::ActionListener, + public gcn::KeyListener, + public Listener, + public ConfigListener { public: /** -- cgit v1.2.3-60-g2f50