diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-02-17 20:33:28 +0100 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-02-17 20:33:28 +0100 |
commit | 366e0b120624cb382fd3b233b8ec7a75c31a2da4 (patch) | |
tree | 8cd1d65a19e490c2ce74bc2c2ef6ebe358b4d1c1 /src/gui/equipmentwindow.h | |
parent | e02c372c50b3d8b498661a05183f460ae6ae395f (diff) | |
download | mana-366e0b120624cb382fd3b233b8ec7a75c31a2da4.tar.gz mana-366e0b120624cb382fd3b233b8ec7a75c31a2da4.tar.bz2 mana-366e0b120624cb382fd3b233b8ec7a75c31a2da4.tar.xz mana-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/equipmentwindow.h')
-rw-r--r-- | src/gui/equipmentwindow.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/equipmentwindow.h b/src/gui/equipmentwindow.h index c491062a..24438477 100644 --- a/src/gui/equipmentwindow.h +++ b/src/gui/equipmentwindow.h @@ -89,7 +89,7 @@ class EquipmentWindow : public Window, public gcn::ActionListener void mouseExited(gcn::MouseEvent &event); void mouseMoved(gcn::MouseEvent &event); - Item* getItem(const int &x, const int &y); + Item* getItem(int x, int y) const; Equipment *mEquipment; Inventory *mInventory; |