From a33a8dc48761d7cb2b4c1c468e1e3b188bcbf709 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 26 Aug 2012 21:29:59 +0300 Subject: Add const to some classes. --- src/gui/charcreatedialog.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/gui/charcreatedialog.h') diff --git a/src/gui/charcreatedialog.h b/src/gui/charcreatedialog.h index c0c1f113a..048363452 100644 --- a/src/gui/charcreatedialog.h +++ b/src/gui/charcreatedialog.h @@ -54,7 +54,7 @@ class CharCreateDialog : public Window, /** * Constructor. */ - CharCreateDialog(CharSelectDialog *parent, int slot); + CharCreateDialog(CharSelectDialog *const parent, const int slot); /** * Destructor. @@ -69,10 +69,11 @@ class CharCreateDialog : public Window, void unlock(); void setAttributes(const StringVect &labels, - int available, - int min, int max); + const int available, + const int min, const int max); - void setFixedGender(bool fixed, Gender gender = GENDER_FEMALE); + void setFixedGender(const bool fixed, + const Gender gender = GENDER_FEMALE); void logic(); -- cgit v1.2.3-60-g2f50