| 92 | } |
| 93 | |
| 94 | void* ModuleContext::GetService(const ServiceReferenceBase& reference) |
| 95 | { |
| 96 | if (!reference) |
| 97 | { |
| 98 | throw std::invalid_argument("Default constructed ServiceReference is not a valid input to GetService()"); |
| 99 | } |
| 100 | return reference.d->GetService(d->module->q); |
| 101 | } |
| 102 | |
| 103 | InterfaceMap ModuleContext::GetService(const ServiceReferenceU& reference) |
| 104 | { |
no test coverage detected