summaryrefslogtreecommitdiff
path: root/glib/glibmm/error.h
diff options
context:
space:
mode:
Diffstat (limited to 'glib/glibmm/error.h')
-rw-r--r--glib/glibmm/error.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/glib/glibmm/error.h b/glib/glibmm/error.h
index b68df859..1886d9a7 100644
--- a/glib/glibmm/error.h
+++ b/glib/glibmm/error.h
@@ -32,19 +32,19 @@ class Error : public Glib::Exception
{
public:
Error();
- Error(GQuark domain, int code, const Glib::ustring& message);
+ Error(GQuark error_domain, int error_code, const Glib::ustring& message);
explicit Error(GError* gobject, bool take_copy = false);
Error(const Error& other);
Error& operator=(const Error& other);
- virtual ~Error() throw();
+ virtual ~Error() noexcept;
GQuark domain() const;
int code() const;
virtual Glib::ustring what() const;
- bool matches(GQuark domain, int code) const;
+ bool matches(GQuark error_domain, int error_code) const;
GError* gobj();
const GError* gobj() const;
@@ -57,7 +57,7 @@ public:
static void register_init();
static void register_cleanup();
- static void register_domain(GQuark domain, ThrowFunc throw_func);
+ static void register_domain(GQuark error_domain, ThrowFunc throw_func);
static void throw_exception(GError* gobject) G_GNUC_NORETURN;