Commit 39e30367 authored by Aurimas Černius's avatar Aurimas Černius

Add additional constructor to GnoteSyncException

parent fb23d399
......@@ -96,7 +96,9 @@ class GnoteSyncException
: public std::runtime_error
{
public:
GnoteSyncException(const char * what_arg) : std::runtime_error(what_arg){}
GnoteSyncException(const char *what_arg) : std::runtime_error(what_arg) {}
GnoteSyncException(const Glib::ustring & what_arg) : std::runtime_error(what_arg.c_str()) {}
GnoteSyncException(Glib::ustring && what_arg) : std::runtime_error(what_arg.c_str()) {}
};
}
......
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