summaryrefslogtreecommitdiff
path: root/src/resources/imageset.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-12-12 20:26:59 +0300
committerAndrei Karas <akaras@inbox.ru>2016-12-12 20:26:59 +0300
commitbebb71a3dfadb2b94ba46c0c66f0d40d6ef75e43 (patch)
tree4d631106f76ba8a052dc2ef8b23b8a968040db82 /src/resources/imageset.h
parent67638eeec5267977940dce29c5a94ce4d093ed69 (diff)
downloadmanaplus-bebb71a3dfadb2b94ba46c0c66f0d40d6ef75e43.tar.gz
manaplus-bebb71a3dfadb2b94ba46c0c66f0d40d6ef75e43.tar.bz2
manaplus-bebb71a3dfadb2b94ba46c0c66f0d40d6ef75e43.tar.xz
manaplus-bebb71a3dfadb2b94ba46c0c66f0d40d6ef75e43.zip
Add noexcept in some files.
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;