summaryrefslogtreecommitdiff
path: root/src/being/flooritem.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/being/flooritem.h
parent67638eeec5267977940dce29c5a94ce4d093ed69 (diff)
downloadplus-bebb71a3dfadb2b94ba46c0c66f0d40d6ef75e43.tar.gz
plus-bebb71a3dfadb2b94ba46c0c66f0d40d6ef75e43.tar.bz2
plus-bebb71a3dfadb2b94ba46c0c66f0d40d6ef75e43.tar.xz
plus-bebb71a3dfadb2b94ba46c0c66f0d40d6ef75e43.zip
Add noexcept in some files.
Diffstat (limited to 'src/being/flooritem.h')
-rw-r--r--src/being/flooritem.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/being/flooritem.h b/src/being/flooritem.h
index 7803c6cac..248a8b351 100644
--- a/src/being/flooritem.h
+++ b/src/being/flooritem.h
@@ -78,7 +78,7 @@ class FloorItem final : public ActorSprite
/**
* Returns the item ID.
*/
- int getItemId() const A_WARN_UNUSED
+ int getItemId() const noexcept2 A_WARN_UNUSED
{ return mItemId; }
/**
@@ -95,41 +95,41 @@ class FloorItem final : public ActorSprite
int getTileY() const override final A_WARN_UNUSED
{ return mY; }
- void incrementPickup()
+ void incrementPickup() noexcept2
{ mPickupCount ++; }
- unsigned getPickupCount() const A_WARN_UNUSED
+ unsigned getPickupCount() const noexcept2 A_WARN_UNUSED
{ return mPickupCount; }
- ItemColor getColor() const A_WARN_UNUSED
+ ItemColor getColor() const noexcept2 A_WARN_UNUSED
{ return mColor; }
- bool getShowMsg() const A_WARN_UNUSED
+ bool getShowMsg() const noexcept2 A_WARN_UNUSED
{ return mShowMsg; }
- void setShowMsg(const bool n)
+ void setShowMsg(const bool n) noexcept2
{ mShowMsg = n; }
- void disableHightlight()
+ void disableHightlight() noexcept2
{ mHighlight = false; }
- CursorT getHoverCursor() const A_WARN_UNUSED
+ CursorT getHoverCursor() const noexcept2 A_WARN_UNUSED
{ return mCursor; }
void setCards(const int *const cards, int sz);
int getCard(const int index) const;
- int getRefine() const A_WARN_UNUSED
+ int getRefine() const noexcept2 A_WARN_UNUSED
{ return mRefine; }
- ItemTypeT getItemType() const A_WARN_UNUSED
+ ItemTypeT getItemType() const noexcept2 A_WARN_UNUSED
{ return mItemType; }
- Identified getIdentified() const A_WARN_UNUSED
+ Identified getIdentified() const noexcept2 A_WARN_UNUSED
{ return mIdentified; }
- Damaged getDamaged() const A_WARN_UNUSED
+ Damaged getDamaged() const noexcept2 A_WARN_UNUSED
{ return mDamaged; }
private: