Skip to content

Commit

Permalink
Fixed incorrect signature
Browse files Browse the repository at this point in the history
  • Loading branch information
kdewald committed Oct 21, 2024
1 parent b73ee1f commit 42cf6a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions simpledbus/include/simpledbus/base/Message.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit 42cf6a4

Please sign in to comment.