diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-30 13:05:34 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-30 13:11:34 +0300 |
commit | 0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9 (patch) | |
tree | 077c2ff59d6656096aa0acaaf4dd6bf4fb7867f7 /src/guichan/include/guichan/listmodel.hpp | |
parent | 6b1684d33dec02eb6308bb3d8d3707f4d5252ba5 (diff) | |
download | plus-0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9.tar.gz plus-0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9.tar.bz2 plus-0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9.tar.xz plus-0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9.zip |
Add unused warnings to other files.
Diffstat (limited to 'src/guichan/include/guichan/listmodel.hpp')
-rw-r--r-- | src/guichan/include/guichan/listmodel.hpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/guichan/include/guichan/listmodel.hpp b/src/guichan/include/guichan/listmodel.hpp index bf139afb1..682338f5b 100644 --- a/src/guichan/include/guichan/listmodel.hpp +++ b/src/guichan/include/guichan/listmodel.hpp @@ -49,6 +49,8 @@ #include "guichan/platform.hpp" +#include "localconsts.h" + namespace gcn { /** @@ -73,7 +75,7 @@ namespace gcn * * @return The number of elements in the list */ - virtual int getNumberOfElements() = 0; + virtual int getNumberOfElements() A_WARN_UNUSED = 0; /** * Gets an element at a certain index in the list. @@ -81,7 +83,7 @@ namespace gcn * @param i An index in the list. * @return An element as a string at the a certain index. */ - virtual std::string getElementAt(int i) = 0; + virtual std::string getElementAt(int i) A_WARN_UNUSED = 0; }; } |