summaryrefslogtreecommitdiff
path: root/src/gui/widgets/avatarlistbox.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/avatarlistbox.h')
-rw-r--r--src/gui/widgets/avatarlistbox.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/avatarlistbox.h b/src/gui/widgets/avatarlistbox.h
index 0148a24d0..995ffebe6 100644
--- a/src/gui/widgets/avatarlistbox.h
+++ b/src/gui/widgets/avatarlistbox.h
@@ -37,7 +37,7 @@ class Image;
class AvatarListModel : public gcn::ListModel
{
public:
- virtual Avatar *getAvatarAt(int i) = 0;
+ virtual Avatar *getAvatarAt(const int i) = 0;
std::string getElementAt(int i)
{ return getAvatarAt(i)->getName(); }