mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-24 06:05:01 +02:00
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…
x
Reference in New Issue
Block a user