Add noexcept qualifications on the plugin side

See the last few commits.
This commit is contained in:
Robbert van der Helm
2021-05-14 17:50:12 +02:00
parent 8ba6e4a937
commit 37257298a1
7 changed files with 36 additions and 22 deletions
+4 -2
View File
@@ -64,6 +64,8 @@ HostProcess::HostProcess(boost::asio::io_context& io_context,
logger.async_log_pipe_lines(stderr_pipe, stderr_buffer, "[Wine STDERR] ");
}
HostProcess::~HostProcess() noexcept {}
IndividualHost::IndividualHost(boost::asio::io_context& io_context,
Logger& logger,
const PluginInfo& plugin_info,
@@ -108,7 +110,7 @@ fs::path IndividualHost::path() {
return host_path;
}
bool IndividualHost::running() {
bool IndividualHost::running() noexcept {
return host.running();
}
@@ -219,7 +221,7 @@ fs::path GroupHost::path() {
return host_path;
}
bool GroupHost::running() {
bool GroupHost::running() noexcept {
// When we are unable to connect to a new or existing group host process,
// then we'll consider the startup failed and we'll allow the initialization
// process to terminate.