fix virtual function hiding warnings introduced to changing wxSockAddress argument of Connect() to be passed by const reference

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-10-20 08:59:45 +00:00
parent 419875a6f5
commit ddc7f0c975
5 changed files with 6 additions and 5 deletions

View File

@@ -59,7 +59,8 @@ public:
#if wxUSE_SOCKETS
bool Reconnect();
virtual bool Connect( const wxString& WXUNUSED(host) ) { return FALSE; }
virtual bool Connect( wxSockAddress& addr, bool WXUNUSED(wait) = TRUE) { return wxSocketClient::Connect(addr); }
virtual bool Connect( const wxSockAddress& addr, bool WXUNUSED(wait) = TRUE)
{ return wxSocketClient::Connect(addr); }
// read a '\r\n' terminated line from the given socket and put it in
// result (without the terminators)