X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/55d99c7a77789ff4904bf96eddca3715eb5af9b9..f9dae7798b164a5f4abc85d16f49cabd4e0980c0:/src/common/protocol.cpp?ds=sidebyside diff --git a/src/common/protocol.cpp b/src/common/protocol.cpp index c3f0c1e4b4..ca133288c9 100644 --- a/src/common/protocol.cpp +++ b/src/common/protocol.cpp @@ -40,9 +40,9 @@ wxProtoInfo::wxProtoInfo(const wxChar *name, const wxChar *serv, const bool need_host1, wxClassInfo *info) + : m_protoname(name), + m_servname(serv) { - m_protoname = name; - m_servname = serv; m_cinfo = info; m_needhost = need_host1; next = wxURL::ms_protocols;