MCPcopy Create free account
hub / github.com/Icinga/icinga2 / ObjectClone

Function ObjectClone

lib/base/object-script.cpp:28–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26}
27
28static Object::Ptr ObjectClone()
29{
30 ScriptFrame *vframe = ScriptFrame::GetCurrentFrame();
31 Object::Ptr self = static_cast<Object::Ptr>(vframe->Self);
32 REQUIRE_NOT_NULL(self);
33 return self->Clone();
34}
35
36Object::Ptr Object::GetPrototype()
37{

Callers

nothing calls this directly

Calls 1

CloneMethod · 0.45

Tested by

no test coverage detected