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 -4
View File
@@ -40,7 +40,7 @@
*/
class HostProcess {
public:
virtual ~HostProcess(){};
virtual ~HostProcess() noexcept;
/**
* Return the full path to the host application in use. The host application
@@ -53,7 +53,7 @@ class HostProcess {
* Return true if the host process is still running. Used during startup to
* abort connecting to sockets if the Wine process has crashed.
*/
virtual bool running() = 0;
virtual bool running() noexcept = 0;
/**
* Kill the process or cause the plugin that's being hosted to exit.
@@ -133,7 +133,7 @@ class IndividualHost : public HostProcess {
Sockets& sockets);
boost::filesystem::path path() override;
bool running() override;
bool running() noexcept override;
void terminate() override;
private:
@@ -180,7 +180,7 @@ class GroupHost : public HostProcess {
std::string group_name);
boost::filesystem::path path() override;
bool running() override;
bool running() noexcept override;
void terminate() override;
private: