Skip to content

Add overload to create a DBus::Error using a std::string#6

Open
steffen-kiess wants to merge 1 commit into
andreas-volz:masterfrom
steffen-kiess:error-stdstring
Open

Add overload to create a DBus::Error using a std::string#6
steffen-kiess wants to merge 1 commit into
andreas-volz:masterfrom
steffen-kiess:error-stdstring

Conversation

@steffen-kiess
Copy link
Copy Markdown

Add a new constructor and set() overload to DBus::Error which allow
specifying the name and message as std::strings. These overloads can be used
with non-static strings (unlike the overloads which accept a const char* and which call dbus_set_error_const()).

Add a new constructor and set() overload to DBus::Error which allow
specifying the name and message as std::strings. These overloads can be used
with non-static strings.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant