From 829b3935d45b274ebe78084cad5c9948b57f0d7e Mon Sep 17 00:00:00 2001 From: Markus Mittendrein Date: Thu, 8 Jun 2017 23:05:27 +0200 Subject: Fix invalid reference caused through ClonkParser::clientRemoved --- src/ClonkInterface.cpp | 2 +- src/ClonkInterface.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ClonkInterface.cpp b/src/ClonkInterface.cpp index 2642568..472d672 100644 --- a/src/ClonkInterface.cpp +++ b/src/ClonkInterface.cpp @@ -88,7 +88,7 @@ void ClonkParser::clientMessage(ClientInfo &client, const QString &message, Clon void ClonkParser::clientConnected(const ClientInfo &client) { dispatch(clientConnected(client)) } -void ClonkParser::clientRemoved(const ClientInfo &client, const QString& reason) { dispatch(clientRemoved(client, reason)) } +void ClonkParser::clientRemoved(const ClientInfo client, const QString& reason) { dispatch(clientRemoved(client, reason)) } void ClonkParser::clientStateChanged(const ClientInfo &client, bool activated) { dispatch(clientStateChanged(client, activated)) } diff --git a/src/ClonkInterface.hpp b/src/ClonkInterface.hpp index 86f7fc3..a175d3b 100644 --- a/src/ClonkInterface.hpp +++ b/src/ClonkInterface.hpp @@ -84,7 +84,7 @@ protected: void watchdog(const QString &id); void clientMessage(ClientInfo &client, const QString &message, ClonkOutputInterface::MessageType type, const QTime &time); void clientConnected(const ClientInfo &client); - void clientRemoved(const ClientInfo &client, const QString &reason); + void clientRemoved(const ClientInfo client, const QString& reason); void clientStateChanged(const ClientInfo &client, bool activated); void gameLoading(); void gameStarted(); -- cgit v1.2.3-54-g00ecf