diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-24 15:04:49 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-25 20:18:59 +0300 |
commit | 2bde1b0193dbef84c9d95c9826aecb910d901196 (patch) | |
tree | 7f4e3cd41df3a41459f9bde2b5a80c73d755fe72 /src/gui/popups/popupmenu.h | |
parent | 9d521a19be347703bfdbb7802d0397a59c3edd7a (diff) | |
download | manaverse-2bde1b0193dbef84c9d95c9826aecb910d901196.tar.gz manaverse-2bde1b0193dbef84c9d95c9826aecb910d901196.tar.bz2 manaverse-2bde1b0193dbef84c9d95c9826aecb910d901196.tar.xz manaverse-2bde1b0193dbef84c9d95c9826aecb910d901196.zip |
Add missing checks into popups.
Diffstat (limited to 'src/gui/popups/popupmenu.h')
-rw-r--r-- | src/gui/popups/popupmenu.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/popups/popupmenu.h b/src/gui/popups/popupmenu.h index d963591bc..ac6798ce1 100644 --- a/src/gui/popups/popupmenu.h +++ b/src/gui/popups/popupmenu.h @@ -168,7 +168,7 @@ class PopupMenu final : public Popup, public LinkHandler void addFollow(); - void addBuySell(const Being *const being); + void addBuySell(const Being *const being) A_NONNULL(2); void addParty(const std::string &nick); @@ -182,7 +182,8 @@ class PopupMenu final : public Popup, public LinkHandler void addProtection(); - void addUseDrop(const Item *const item, const bool isProtected); + void addUseDrop(const Item *const item, + const bool isProtected) A_NONNULL(2); void addGmCommands(); |