// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementation "protocol.h"
#endif
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;