diff --git a/clientgui/MainDocument.cpp b/clientgui/MainDocument.cpp index 0da552358b..44b44bd1c3 100644 --- a/clientgui/MainDocument.cpp +++ b/clientgui/MainDocument.cpp @@ -435,7 +435,7 @@ int CMainDocument::GetConnectingComputerName(wxString& strMachine) { } -bool CMainDocument::IsComputerNameLocal(wxString& strMachine) { +bool CMainDocument::IsComputerNameLocal(wxString strMachine) { return m_pNetworkConnection->IsComputerNameLocal(strMachine); } diff --git a/clientgui/MainDocument.h b/clientgui/MainDocument.h index 652b8ef28f..e15f46104f 100644 --- a/clientgui/MainDocument.h +++ b/clientgui/MainDocument.h @@ -118,7 +118,7 @@ public: int GetConnectedComputerName(wxString& strMachine); int GetConnectingComputerName(wxString& strMachine); - bool IsComputerNameLocal(wxString& strMachine); + bool IsComputerNameLocal(wxString strMachine); bool IsConnected(); bool IsReconnecting();