From bebb71a3dfadb2b94ba46c0c66f0d40d6ef75e43 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 12 Dec 2016 20:26:59 +0300 Subject: Add noexcept in some files. --- src/resources/imageset.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/resources/imageset.h') 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::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 &getImages() const + const std::vector &getImages() const noexcept2 A_WARN_UNUSED { return mImages; } int calcMemoryLocal() const override; -- cgit v1.2.3-60-g2f50