lib/dbus/Message: add noexcept
This commit is contained in:
parent
155fc8fa5a
commit
7376f31c97
@ -60,7 +60,7 @@ ODBus::Message::StealReply(DBusPendingCall &pending)
|
|||||||
}
|
}
|
||||||
|
|
||||||
ODBus::Message
|
ODBus::Message
|
||||||
ODBus::Message::Pop(DBusConnection &connection)
|
ODBus::Message::Pop(DBusConnection &connection) noexcept
|
||||||
{
|
{
|
||||||
auto *msg = dbus_connection_pop_message(&connection);
|
auto *msg = dbus_connection_pop_message(&connection);
|
||||||
return Message(msg);
|
return Message(msg);
|
||||||
|
@ -72,7 +72,7 @@ public:
|
|||||||
|
|
||||||
static Message StealReply(DBusPendingCall &pending);
|
static Message StealReply(DBusPendingCall &pending);
|
||||||
|
|
||||||
static Message Pop(DBusConnection &connection);
|
static Message Pop(DBusConnection &connection) noexcept;
|
||||||
|
|
||||||
bool IsDefined() const noexcept {
|
bool IsDefined() const noexcept {
|
||||||
return msg != nullptr;
|
return msg != nullptr;
|
||||||
|
Loading…
Reference in New Issue
Block a user