Fixed compilation errors

This was SVN commit r1731.
This commit is contained in:
Ykkrosh 2005-01-17 10:20:47 +00:00
parent 2077698156
commit 4b5aff926d
2 changed files with 1 additions and 3 deletions

View File

@ -11,7 +11,7 @@
#define LOG_CAT_NET "net"
CNetClient *g_NetClient=NULL;
extern int fps;
extern "C" int fps;
extern CConsole *g_Console;
enum CClientEvents

View File

@ -142,7 +142,6 @@ template <> void XMLWriter_File::ElementAttribute<CStr>(const char* name, CStr&
}
}
#ifdef __GNUC__
// (Simon) Since GCC refuses to pass temporaries through non-const reference,
// define this wrapper function to convert [ugly] a const CStr to a non-const
template <>
@ -150,7 +149,6 @@ inline void XMLWriter_File::ElementAttribute<const CStr>(const char *name, const
{
ElementAttribute(name, (CStr &)value, newelement);
}
#endif
// Attribute/setting value-to-string template specialisations: