Commit 7376f31c authored by Max Kellermann's avatar Max Kellermann

lib/dbus/Message: add `noexcept`

parent 155fc8fa
......@@ -60,7 +60,7 @@ ODBus::Message::StealReply(DBusPendingCall &pending)
}
ODBus::Message
ODBus::Message::Pop(DBusConnection &connection)
ODBus::Message::Pop(DBusConnection &connection) noexcept
{
auto *msg = dbus_connection_pop_message(&connection);
return Message(msg);
......
......@@ -72,7 +72,7 @@ public:
static Message StealReply(DBusPendingCall &pending);
static Message Pop(DBusConnection &connection);
static Message Pop(DBusConnection &connection) noexcept;
bool IsDefined() const noexcept {
return msg != nullptr;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment