]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/ipcbase.cpp
reuse Clear() instead of duplicating its code in Close()
[wxWidgets.git] / src / common / ipcbase.cpp
index 1322e26285e3818c170b98d05e3bd49bcca69887..31f3cab4bd8ddbb445c7d3c7b64ea9ab7ad53577 100644 (file)
@@ -47,7 +47,7 @@ wxConnectionBase::wxConnectionBase()
 {
 }
 
-wxConnectionBase::wxConnectionBase(wxConnectionBase& copy)
+wxConnectionBase::wxConnectionBase(const wxConnectionBase& copy)
     : wxObject(),
       m_connected(copy.m_connected),
       m_buffer(copy.m_buffer),