Make sure base classes are registered in the right order

refs #12408
This commit is contained in:
Gunnar Beutner 2016-08-12 14:18:23 +02:00
parent 31f816562f
commit c6a753b67e
2 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ static void RegisterObjectType(void)
Object::TypeInstance = type;
}
INITIALIZE_ONCE(&RegisterObjectType);
INITIALIZE_ONCE_WITH_PRIORITY(&RegisterObjectType, 20);
ObjectType::ObjectType(void)
{ }

View File

@ -32,7 +32,7 @@ static void RegisterTypeType(void)
Type::Register(type);
}
INITIALIZE_ONCE(RegisterTypeType);
INITIALIZE_ONCE_WITH_PRIORITY(RegisterTypeType, 20);
String Type::ToString(void) const
{