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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/avatarlistbox.h b/src/gui/widgets/avatarlistbox.h
index ae9e2c734..0600feda2 100644
--- a/src/gui/widgets/avatarlistbox.h
+++ b/src/gui/widgets/avatarlistbox.h
@@ -37,9 +37,9 @@ class Image;
class AvatarListModel : public gcn::ListModel
{
public:
- virtual Avatar *getAvatarAt(const int i) = 0;
+ virtual Avatar *getAvatarAt(const int i) A_WARN_UNUSED = 0;
- std::string getElementAt(int i) override
+ std::string getElementAt(int i) override A_WARN_UNUSED
{ return getAvatarAt(i)->getName(); }
};