jwiesemann
Junior Member
14 Posts |
Posted - Sep 26 2007 : 09:30:23 AM
|
Hi,
when I use "Create Declaration" on a constructor with an initializer list, this list is copied to the declaration. This is invalid c++.
Source:
MMGServer::MMGServer(wxString IPaddress, int Port, wxTextCtrl *textCtrl) : m_addr(), m_server(NULL), m_text(textCtrl), m_numClients(-1) // Server not active { }
results in: MMGServer(wxString IPaddress, int Port, wxTextCtrl *textCtrl) : m_addr(), m_server(NULL), m_text(textCtrl), m_numClients(-1) /* Server not active */;
Joachim
|
|