really fix VC6 compilation of all testsi (without breaking VC9)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -79,7 +79,7 @@ wxSockAddressPtr SocketTestCase::GetServer() const
|
||||
addr->Hostname(gs_serverHost);
|
||||
addr->Service("www");
|
||||
|
||||
ptr.reset(addr);
|
||||
ptr = wxSockAddressPtr(addr);
|
||||
}
|
||||
|
||||
return ptr;
|
||||
@@ -104,7 +104,7 @@ wxSocketClientPtr SocketTestCase::GetHTTPSocket(int flags) const
|
||||
|
||||
sock->Write(httpGetRoot.ToAscii(), httpGetRoot.length());
|
||||
|
||||
ptr.reset(sock);
|
||||
ptr = wxSocketClientPtr(sock);
|
||||
return ptr;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user