X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/55d99c7a77789ff4904bf96eddca3715eb5af9b9..1d73f41603de8103218a8460792f244230c6a7b1:/src/common/protocol.cpp diff --git a/src/common/protocol.cpp b/src/common/protocol.cpp index c3f0c1e4b4..8d83bc6dbb 100644 --- a/src/common/protocol.cpp +++ b/src/common/protocol.cpp @@ -9,7 +9,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "protocol.h" #endif @@ -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;