diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-30 23:21:55 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-30 23:21:55 +0300 |
commit | 1d5aa3c38c3a545ad0056613f561ac01d945b2ed (patch) | |
tree | 3d9500f9113e17af71f5f4443f4286384b15c286 | |
parent | 3f8010f23e112c1cf6506c327cdddc5260867299 (diff) | |
download | plus-1d5aa3c38c3a545ad0056613f561ac01d945b2ed.tar.gz plus-1d5aa3c38c3a545ad0056613f561ac01d945b2ed.tar.bz2 plus-1d5aa3c38c3a545ad0056613f561ac01d945b2ed.tar.xz plus-1d5aa3c38c3a545ad0056613f561ac01d945b2ed.zip |
Fix compilation warning.
-rw-r--r-- | src/net/ea/npchandler.h | 2 | ||||
-rw-r--r-- | src/net/tmwa/npchandler.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/net/ea/npchandler.h b/src/net/ea/npchandler.h index bfbc9dcfb..c1bcd5cd1 100644 --- a/src/net/ea/npchandler.h +++ b/src/net/ea/npchandler.h @@ -49,7 +49,7 @@ class NpcHandler notfinal : public Net::NpcHandler void endShopping(const int beingId) const override final; - virtual int getNpc(Net::MessageIn &msg) A_WARN_UNUSED = 0; + virtual int getNpc(Net::MessageIn &msg) = 0; void processNpcChoice(Net::MessageIn &msg); diff --git a/src/net/tmwa/npchandler.h b/src/net/tmwa/npchandler.h index f4b982a35..55dfdd315 100644 --- a/src/net/tmwa/npchandler.h +++ b/src/net/tmwa/npchandler.h @@ -65,7 +65,7 @@ class NpcHandler final : public MessageHandler, public Ea::NpcHandler void sellItem(const int beingId, const int itemId, const int amount) const override final; - int getNpc(Net::MessageIn &msg) override final A_WARN_UNUSED; + int getNpc(Net::MessageIn &msg) override final; void processNpcCommand(Net::MessageIn &msg, const int npcId); |