| 95 | }; |
| 96 | |
| 97 | cmDebuggerAdapter::cmDebuggerAdapter( |
| 98 | std::shared_ptr<cmDebuggerConnection> connection, |
| 99 | std::string const& dapLogPath) |
| 100 | : cmDebuggerAdapter(std::move(connection), |
| 101 | dapLogPath.empty() |
| 102 | ? cm::nullopt |
| 103 | : cm::optional<std::shared_ptr<dap::Writer>>( |
| 104 | dap::file(dapLogPath.c_str()))) |
| 105 | { |
| 106 | } |
| 107 | |
| 108 | cmDebuggerAdapter::cmDebuggerAdapter( |
| 109 | std::shared_ptr<cmDebuggerConnection> connection, |
nothing calls this directly
no test coverage detected