summaryrefslogtreecommitdiff
path: root/src/net/tmwa/tradehandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/tmwa/tradehandler.cpp')
-rw-r--r--src/net/tmwa/tradehandler.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/tmwa/tradehandler.cpp b/src/net/tmwa/tradehandler.cpp
index a02056a4..2441d83a 100644
--- a/src/net/tmwa/tradehandler.cpp
+++ b/src/net/tmwa/tradehandler.cpp
@@ -51,9 +51,9 @@ ConfirmDialog *confirmDlg;
namespace {
struct RequestTradeListener : public gcn::ActionListener
{
- void action(const gcn::ActionEvent &event)
+ void action(const gcn::ActionEvent &event) override
{
- confirmDlg = 0;
+ confirmDlg = nullptr;
Net::getTradeHandler()->respond(event.getId() == "yes");
}
} listener;
@@ -77,7 +77,7 @@ TradeHandler::TradeHandler()
};
handledMessages = _messages;
tradeHandler = this;
- confirmDlg = 0;
+ confirmDlg = nullptr;
}