From 1feb7f7edc5f8f383e594b256ef4cab0fae75b99 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 29 Aug 2012 23:40:41 +0300 Subject: Add const to more classes. --- src/gui/textcommandeditor.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/textcommandeditor.h') diff --git a/src/gui/textcommandeditor.h b/src/gui/textcommandeditor.h index 2221a9507..65274098d 100644 --- a/src/gui/textcommandeditor.h +++ b/src/gui/textcommandeditor.h @@ -48,7 +48,7 @@ class TextCommandEditor : public Window, public gcn::ActionListener /** * Constructor. */ - TextCommandEditor(TextCommand *command); + TextCommandEditor(TextCommand *const command); /** * Destructor. @@ -66,7 +66,7 @@ class TextCommandEditor : public Window, public gcn::ActionListener void scheduleDelete(); private: - void showControls(bool show); + void showControls(const bool show); void save(); -- cgit v1.2.3-60-g2f50