WX: Fix build with LINK enabled

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1113 a31d4220-a93d-0410-bf67-fe4944624d44
This commit is contained in:
bgk 2012-09-01 17:59:13 +00:00
parent 51afa7e129
commit 11f4dfb43b
1 changed files with 2 additions and 2 deletions

View File

@ -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());
}