diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-01-30 19:10:14 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-01-30 20:39:49 +0300 |
commit | 5f8496ca103fabb4cfc265d8d936e194129a17ef (patch) | |
tree | 60314fbebf3773e1a6df6d32a9fbd67b4a482071 /src/net/ea/buysellhandler.h | |
parent | 6fa245a1cb5037118ba19a084f219abcc00f6294 (diff) | |
download | manaplus-5f8496ca103fabb4cfc265d8d936e194129a17ef.tar.gz manaplus-5f8496ca103fabb4cfc265d8d936e194129a17ef.tar.bz2 manaplus-5f8496ca103fabb4cfc265d8d936e194129a17ef.tar.xz manaplus-5f8496ca103fabb4cfc265d8d936e194129a17ef.zip |
Clean buy dialog dungling pointer if buy dialog was destroyed.
Diffstat (limited to 'src/net/ea/buysellhandler.h')
-rw-r--r-- | src/net/ea/buysellhandler.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/ea/buysellhandler.h b/src/net/ea/buysellhandler.h index 4343cd256..2c5e1caad 100644 --- a/src/net/ea/buysellhandler.h +++ b/src/net/ea/buysellhandler.h @@ -34,6 +34,9 @@ class BuySellHandler notfinal : public Net::BuySellHandler BuySellHandler(); A_DELETE_COPY(BuySellHandler) + + void cleanDialogReference(const BuyDialog *const dialog) const + override final; }; } // namespace Ea |