| 8 | namespace pmapi |
| 9 | { |
| 10 | Session::Session() |
| 11 | { |
| 12 | if (auto sta = pmOpenSession(&handle_); sta != PM_STATUS_SUCCESS) { |
| 13 | throw ApiErrorException{ sta, "error opening session" }; |
| 14 | } |
| 15 | Initialize_(); |
| 16 | } |
| 17 | |
| 18 | Session::Session(EmptyTag) noexcept {} |
| 19 |
nothing calls this directly
no test coverage detected