summaryrefslogtreecommitdiff
path: root/src/gui/sdlfont.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-30 01:19:46 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-30 13:11:34 +0300
commit6b1684d33dec02eb6308bb3d8d3707f4d5252ba5 (patch)
tree4a0a5fd220828b92ef96446fe38dbe67ff446c6c /src/gui/sdlfont.h
parent2a70a50c785ce639b76141a3a6887836d22fe12c (diff)
downloadplus-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.tar.gz
plus-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.tar.bz2
plus-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.tar.xz
plus-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.zip
Add unused warnings to some files.
Diffstat (limited to 'src/gui/sdlfont.h')
-rw-r--r--src/gui/sdlfont.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/sdlfont.h b/src/gui/sdlfont.h
index 818ef7541..3086abf0a 100644
--- a/src/gui/sdlfont.h
+++ b/src/gui/sdlfont.h
@@ -69,11 +69,11 @@ class SDLFont final : public gcn::Font
void createSDLTextChunk(SDLTextChunk *const chunk);
- virtual int getWidth(const std::string &text) const;
+ virtual int getWidth(const std::string &text) const A_WARN_UNUSED;
- virtual int getHeight() const;
+ virtual int getHeight() const A_WARN_UNUSED;
- std::list<SDLTextChunk> *getCache()
+ std::list<SDLTextChunk> *getCache() A_WARN_UNUSED
{ return mCache; }
/**
@@ -89,10 +89,10 @@ class SDLFont final : public gcn::Font
void slowLogic();
- int getCreateCounter() const
+ int getCreateCounter() const A_WARN_UNUSED
{ return mCreateCounter; }
- int getDeleteCounter() const
+ int getDeleteCounter() const A_WARN_UNUSED
{ return mDeleteCounter; }
private: