From 42cf6a4791c88f712f8163b8130b132e3918492a Mon Sep 17 00:00:00 2001 From: Kevin Dewald Date: Sun, 20 Oct 2024 23:11:03 -0700 Subject: [PATCH] Fixed incorrect signature --- simpledbus/include/simpledbus/base/Message.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/simpledbus/include/simpledbus/base/Message.h b/simpledbus/include/simpledbus/base/Message.h index 608f2022..ab0fc642 100644 --- a/simpledbus/include/simpledbus/base/Message.h +++ b/simpledbus/include/simpledbus/base/Message.h @@ -45,7 +45,7 @@ class Message { std::string get_path() const; std::string get_member() const; Type get_type() const; - + bool is_signal(const std::string& interface, const std::string& signal_name) const; bool is_method_call(const std::string& interface, const std::string& method) const; @@ -79,7 +79,7 @@ class Message { * @param argument Argument to append. * @param signature Signature of the argument. */ - void _append_argument(DBusMessageIter* iter, Holder& argument, std::string signature); + void _append_argument(DBusMessageIter* iter, const Holder& argument, const std::string& signature); void _invalidate(); void _safe_delete();