lib/dbus/Glue: add noexcept

This commit is contained in:
Max Kellermann 2020-12-14 13:19:29 +01:00
parent 10e5b0759c
commit 178d115ccb
2 changed files with 4 additions and 4 deletions

View File

@ -39,7 +39,7 @@ Glue::ConnectIndirect()
}
void
Glue::DisconnectIndirect()
Glue::DisconnectIndirect() noexcept
{
BlockingCall(GetEventLoop(), [this](){ Disconnect(); });
}
@ -53,7 +53,7 @@ Glue::Connect()
}
void
Glue::Disconnect()
Glue::Disconnect() noexcept
{
GetConnection().Close();

View File

@ -62,10 +62,10 @@ public:
private:
void ConnectIndirect();
void DisconnectIndirect();
void DisconnectIndirect() noexcept;
void Connect();
void Disconnect();
void Disconnect() noexcept;
/* virtual methods from class ODBus::WatchManagerObserver */
void OnDBusClosed() noexcept override;