mirror of https://github.com/Icinga/icinga2.git
parent
cfd775c948
commit
0a4c461caa
|
@ -66,11 +66,11 @@ static void ArrayClear(void)
|
|||
self->Clear();
|
||||
}
|
||||
|
||||
static void ArrayClone(void)
|
||||
static Array::Ptr ArrayClone(void)
|
||||
{
|
||||
ScriptFrame *vframe = ScriptFrame::GetCurrentFrame();
|
||||
Array::Ptr self = static_cast<Array::Ptr>(vframe->Self);
|
||||
self->ShallowClone();
|
||||
return self->ShallowClone();
|
||||
}
|
||||
|
||||
Object::Ptr Array::GetPrototype(void)
|
||||
|
|
|
@ -52,11 +52,11 @@ static bool DictionaryContains(const String& key)
|
|||
return self->Contains(key);
|
||||
}
|
||||
|
||||
static void DictionaryClone(void)
|
||||
static Dictionary::Ptr DictionaryClone(void)
|
||||
{
|
||||
ScriptFrame *vframe = ScriptFrame::GetCurrentFrame();
|
||||
Dictionary::Ptr self = static_cast<Dictionary::Ptr>(vframe->Self);
|
||||
self->ShallowClone();
|
||||
return self->ShallowClone();
|
||||
}
|
||||
|
||||
Object::Ptr Dictionary::GetPrototype(void)
|
||||
|
|
Loading…
Reference in New Issue