| 376 | } |
| 377 | |
| 378 | void HttpServerSelection::SetServer(const std::string &name) |
| 379 | { |
| 380 | if (GetHttpServerByName(name)) { |
| 381 | SetItem(name); |
| 382 | } else { |
| 383 | SetItem(""); |
| 384 | } |
| 385 | } |
| 386 | |
| 387 | void HttpServerSelection::SetServer(const std::weak_ptr<HttpServer> &server) |
| 388 | { |
nothing calls this directly
no test coverage detected