mirror of https://github.com/Icinga/icinga2.git
parent
26c5256c05
commit
b8e7c5bc40
|
@ -25,18 +25,7 @@
|
|||
|
||||
using namespace icinga;
|
||||
|
||||
static Object::Ptr GetObjectPrototype(void)
|
||||
{
|
||||
static Dictionary::Ptr prototype;
|
||||
|
||||
if (!prototype) {
|
||||
prototype = new Dictionary();
|
||||
}
|
||||
|
||||
return prototype;
|
||||
}
|
||||
|
||||
REGISTER_PRIMITIVE_TYPE(Object, GetObjectPrototype());
|
||||
REGISTER_PRIMITIVE_TYPE(Object, Object::GetPrototype());
|
||||
|
||||
/**
|
||||
* Default constructor for the Object class.
|
||||
|
|
Loading…
Reference in New Issue