summaryrefslogtreecommitdiff
path: root/src/gui/widgets/extendednamesmodel.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-30 13:05:34 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-30 13:11:34 +0300
commit0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9 (patch)
tree077c2ff59d6656096aa0acaaf4dd6bf4fb7867f7 /src/gui/widgets/extendednamesmodel.h
parent6b1684d33dec02eb6308bb3d8d3707f4d5252ba5 (diff)
downloadmanaplus-0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9.tar.gz
manaplus-0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9.tar.bz2
manaplus-0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9.tar.xz
manaplus-0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9.zip
Add unused warnings to other files.
Diffstat (limited to 'src/gui/widgets/extendednamesmodel.h')
-rw-r--r--src/gui/widgets/extendednamesmodel.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/widgets/extendednamesmodel.h b/src/gui/widgets/extendednamesmodel.h
index 3078f977f..64941d089 100644
--- a/src/gui/widgets/extendednamesmodel.h
+++ b/src/gui/widgets/extendednamesmodel.h
@@ -36,19 +36,19 @@ class ExtendedNamesModel : public ExtendedListModel
virtual ~ExtendedNamesModel();
- virtual int getNumberOfElements() override;
+ virtual int getNumberOfElements() override A_WARN_UNUSED;
- virtual std::string getElementAt(int i) override;
+ virtual std::string getElementAt(int i) override A_WARN_UNUSED;
- virtual const Image *getImageAt(int i) override;
+ virtual const Image *getImageAt(int i) override A_WARN_UNUSED;
- StringVect &getNames()
+ StringVect &getNames() A_WARN_UNUSED
{ return mNames; }
- std::vector<Image*> &getImages()
+ std::vector<Image*> &getImages() A_WARN_UNUSED
{ return mImages; }
- size_t size()
+ size_t size() A_WARN_UNUSED
{ return mNames.size(); }
void clear();