]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/protocol/ftp.h
added missing consts and pass objects by const reference instead of by value (patch...
[wxWidgets.git] / include / wx / protocol / ftp.h
index f79c40f1bc9e9671980105986530ec79b4124976..03a1a6ba6903074ba7ac96909cdb836cfc081e6b 100644 (file)
@@ -138,7 +138,7 @@ protected:
     wxSocketBase *GetActivePort();
 
     // helper for GetPort()
-    wxString GetPortCmdArgument(wxIPV4address Local, wxIPV4address New);
+    wxString GetPortCmdArgument(const wxIPV4address& Local, const wxIPV4address& New);
 
     // accept connection from server in active mode, returns the same socket as
     // passed in in passive mode