Make the compiler shut up about initialization order.

This commit is contained in:
vrld
2011-03-10 13:35:18 +01:00
parent 3c7353be9d
commit e77b94f112
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -118,7 +118,7 @@ namespace sdl
}
ThreadData::ThreadData(const char *name, size_t len, const char *code, void *mutex, void *cond)
: mutex(mutex), cond(cond), len(len)
: len(len), mutex(mutex), cond(cond)
{
this->name = new char[len+1];
memset(this->name, 0, len+1);