Fix initialization order for type objects

refs #8791
This commit is contained in:
Gunnar Beutner 2015-03-18 14:24:55 +01:00
parent 3e08f2e0b5
commit 05e55ab79d
1 changed files with 2 additions and 2 deletions

View File

@ -54,7 +54,7 @@ private:
t->SetPrototype(prototype); \
icinga::Type::Register(t); \
} \
INITIALIZE_ONCE(RegisterBuiltinType); \
INITIALIZE_ONCE_WITH_PRIORITY(RegisterBuiltinType, 15); \
} } }
#define REGISTER_PRIMITIVE_TYPE(type, prototype) \
@ -66,7 +66,7 @@ private:
icinga::Type::Register(t); \
type::TypeInstance = t; \
} \
INITIALIZE_ONCE(RegisterPrimitiveType); \
INITIALIZE_ONCE_WITH_PRIORITY(RegisterPrimitiveType, 15); \
} } } \
DEFINE_TYPE_INSTANCE(type)