From cf02712b349f128333a705fc8d670080bc48ae16 Mon Sep 17 00:00:00 2001 From: bgk Date: Sat, 1 Sep 2012 17:59:13 +0000 Subject: [PATCH] WX: Fix build with LINK enabled --- src/wx/guiinit.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wx/guiinit.cpp b/src/wx/guiinit.cpp index 200347c0..fdb2ab93 100644 --- a/src/wx/guiinit.cpp +++ b/src/wx/guiinit.cpp @@ -88,7 +88,7 @@ public: sid_t(wxMutex *m, wxCondition *c, wxString *cm, wxString *pm, bool *d) : lock(m), sig(c), connmsg(cm), pmsg(pm), done(d) {} - void ShowServerIP(sf::IPAddress addr) { + void ShowServerIP(const sf::IPAddress &addr) { wxString addr_s(addr.ToString().c_str(), wxConvLibc); wxString msg; msg.Printf(_("Server IP address is: %s\n"), addr_s.c_str()); @@ -146,7 +146,7 @@ public: cid_t(wxMutex *m, wxCondition *c, wxString *cm, wxString *pm, bool *d) : lock(m), sig(c), connmsg(cm), pmsg(pm), done(d) {} - void ConnectStart(sf::IPAddress addr) { + void ConnectStart(const sf::IPAddress &addr) { wxString addr_s(addr.ToString().c_str(), wxConvLibc); connmsg->Printf(_("Connecting to %s\n"), addr_s.c_str()); }