| 42 | } |
| 43 | |
| 44 | ActivationScope::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 | |
| 53 | ActivationScope::~ActivationScope() |
| 54 | { |
nothing calls this directly
no outgoing calls
no test coverage detected