summaryrefslogtreecommitdiff
path: root/src/gui/npcintegerdialog.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-02-17 20:33:28 +0100
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-02-17 20:33:28 +0100
commit366e0b120624cb382fd3b233b8ec7a75c31a2da4 (patch)
tree8cd1d65a19e490c2ce74bc2c2ef6ebe358b4d1c1 /src/gui/npcintegerdialog.h
parente02c372c50b3d8b498661a05183f460ae6ae395f (diff)
downloadmana-client-366e0b120624cb382fd3b233b8ec7a75c31a2da4.tar.gz
mana-client-366e0b120624cb382fd3b233b8ec7a75c31a2da4.tar.bz2
mana-client-366e0b120624cb382fd3b233b8ec7a75c31a2da4.tar.xz
mana-client-366e0b120624cb382fd3b233b8ec7a75c31a2da4.zip
Got rid of const where it does not make much sense
It's not that useful to make variables that are passed by value const. In the declaration it is even completely ignored.
Diffstat (limited to 'src/gui/npcintegerdialog.h')
-rw-r--r--src/gui/npcintegerdialog.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/npcintegerdialog.h b/src/gui/npcintegerdialog.h
index 7c064ca6..941bb55a 100644
--- a/src/gui/npcintegerdialog.h
+++ b/src/gui/npcintegerdialog.h
@@ -59,14 +59,14 @@ class NpcIntegerDialog : public Window, public gcn::ActionListener
* @param min The minimum value to allow
* @param max The maximum value to allow
*/
- void setRange(const int min, const int max);
+ void setRange(int min, int max);
/**
* Sets the default value.
*
* @param value The new default value
*/
- void setDefaultValue(const int value);
+ void setDefaultValue(int value);
/**
* Checks whether NpcStringDialog is Focused or not.