summaryrefslogtreecommitdiff
path: root/src/resources/imageset.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/imageset.h')
-rw-r--r--src/resources/imageset.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/resources/imageset.h b/src/resources/imageset.h
index 6673303aa..3378cd365 100644
--- a/src/resources/imageset.h
+++ b/src/resources/imageset.h
@@ -53,35 +53,35 @@ class ImageSet notfinal : public Resource
/**
* Returns the width of the images in the image set.
*/
- int getWidth() const A_WARN_UNUSED
+ int getWidth() const noexcept2 A_WARN_UNUSED
{ return mWidth; }
/**
* Returns the height of the images in the image set.
*/
- int getHeight() const A_WARN_UNUSED
+ int getHeight() const noexcept2 A_WARN_UNUSED
{ return mHeight; }
typedef std::vector<Image*>::size_type size_type;
Image* get(const size_type i) const A_WARN_UNUSED;
- size_type size() const A_WARN_UNUSED
+ size_type size() const noexcept2 A_WARN_UNUSED
{ return mImages.size(); }
- int getOffsetX() const A_WARN_UNUSED
+ int getOffsetX() const noexcept2 A_WARN_UNUSED
{ return mOffsetX; }
- void setOffsetX(const int n)
+ void setOffsetX(const int n) noexcept2
{ mOffsetX = n; }
- int getOffsetY() const A_WARN_UNUSED
+ int getOffsetY() const noexcept2 A_WARN_UNUSED
{ return mOffsetY; }
- void setOffsetY(const int n)
+ void setOffsetY(const int n) noexcept2
{ mOffsetY = n; }
- const std::vector<Image*> &getImages() const
+ const std::vector<Image*> &getImages() const noexcept2 A_WARN_UNUSED
{ return mImages; }
int calcMemoryLocal() const override;