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

Method ActivationScope

lib/config/activationcontext.cpp:44–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42}
43
44ActivationScope::ActivationScope(ActivationContext::Ptr context)
45 : m_Context(std::move(context))
46{
47 if (!m_Context)
48 m_Context = new ActivationContext();
49
50 ActivationContext::PushContext(m_Context);
51}
52
53ActivationScope::~ActivationScope()
54{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected