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