diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-21 01:13:48 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-21 01:13:48 +0300 |
commit | 6c01b391c288622d8e360d823c9c1e35a874fa58 (patch) | |
tree | 68dc29cbdfd55770a625aaf16939f243a7289d57 /src/listeners/insertcardlistener.h | |
parent | 414b9fbcd9bf6f49ba98d84babfac143aa9e6532 (diff) | |
download | manaplus-6c01b391c288622d8e360d823c9c1e35a874fa58.tar.gz manaplus-6c01b391c288622d8e360d823c9c1e35a874fa58.tar.bz2 manaplus-6c01b391c288622d8e360d823c9c1e35a874fa58.tar.xz manaplus-6c01b391c288622d8e360d823c9c1e35a874fa58.zip |
Add missing public modifier to some structs.
Diffstat (limited to 'src/listeners/insertcardlistener.h')
-rw-r--r-- | src/listeners/insertcardlistener.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/listeners/insertcardlistener.h b/src/listeners/insertcardlistener.h index 2110fdeef..a7c962f96 100644 --- a/src/listeners/insertcardlistener.h +++ b/src/listeners/insertcardlistener.h @@ -40,14 +40,15 @@ struct InsertCardListener final : public ActionListener A_DELETE_COPY(InsertCardListener) - void action(const ActionEvent &event) override final - { - if (event.getId() == "yes" && inventoryHandler) - inventoryHandler->insertCard(cardIndex, itemIndex); - } - - int cardIndex; - int itemIndex; + public: + void action(const ActionEvent &event) override final + { + if (event.getId() == "yes" && inventoryHandler) + inventoryHandler->insertCard(cardIndex, itemIndex); + } + + int cardIndex; + int itemIndex; }; #endif // LISTENERS_INSERTCARDLISTENER_H |