summaryrefslogtreecommitdiff
path: root/src/resources/imageset.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/resources/imageset.h
parent6b1684d33dec02eb6308bb3d8d3707f4d5252ba5 (diff)
downloadplus-0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9.tar.gz
plus-0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9.tar.bz2
plus-0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9.tar.xz
plus-0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9.zip
Add unused warnings to other files.
Diffstat (limited to 'src/resources/imageset.h')
-rw-r--r--src/resources/imageset.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/resources/imageset.h b/src/resources/imageset.h
index b87891249..97d3d71fa 100644
--- a/src/resources/imageset.h
+++ b/src/resources/imageset.h
@@ -53,29 +53,29 @@ class ImageSet : public Resource
/**
* Returns the width of the images in the image set.
*/
- int getWidth() const
+ int getWidth() const A_WARN_UNUSED
{ return mWidth; }
/**
* Returns the height of the images in the image set.
*/
- int getHeight() const
+ int getHeight() const A_WARN_UNUSED
{ return mHeight; }
typedef std::vector<Image*>::size_type size_type;
- Image* get(const size_type i) const;
+ Image* get(const size_type i) const A_WARN_UNUSED;
- size_type size() const
+ size_type size() const A_WARN_UNUSED
{ return mImages.size(); }
- int getOffsetX() const
+ int getOffsetX() const A_WARN_UNUSED
{ return mOffsetX; }
void setOffsetX(const int n)
{ mOffsetX = n; }
- int getOffsetY() const
+ int getOffsetY() const A_WARN_UNUSED
{ return mOffsetY; }
void setOffsetY(const int n)