1
0
forked from mirrors/0ad

Convert serialization code to use less virtuals and allow more inlining.

This was SVN commit r7582.
This commit is contained in:
Ykkrosh
2010-05-25 19:01:30 +00:00
parent 9090d25ef8
commit 01bec7a454
12 changed files with 250 additions and 201 deletions
@@ -140,7 +140,7 @@ void CDebugSerializer::PutScriptVal(const char* name, jsval value)
m_Stream << INDENT << name << ": " << source << "\n";
}
void CDebugSerializer::Put(const char* name, const u8* data, size_t len)
void CDebugSerializer::PutRaw(const char* name, const u8* data, size_t len)
{
m_Stream << INDENT << name << ": (" << len << " bytes)";