| 52 | |
| 53 | template<class T> |
| 54 | ScenarioScope<T>::ScenarioScope() { |
| 55 | if (contextReference.expired()) { |
| 56 | contextReference = contextManager.addContext<T>(); |
| 57 | } |
| 58 | context = contextReference.lock(); |
| 59 | } |
| 60 | |
| 61 | template<class T> |
| 62 | T& ScenarioScope<T>::operator*() { |
nothing calls this directly
no outgoing calls
no test coverage detected