Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(940)

Unified Diff: dbus/scoped_dbus_error.h

Issue 11266020: dbus: Reuse is_set() function from ScopedDBusError API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « dbus/bus.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dbus/scoped_dbus_error.h
diff --git a/dbus/scoped_dbus_error.h b/dbus/scoped_dbus_error.h
index 67056477e5b3d6f7dcbdf7210dc0c5e3f257100b..c15c44397b91c59e21d871228b048f64c241ac55 100644
--- a/dbus/scoped_dbus_error.h
+++ b/dbus/scoped_dbus_error.h
@@ -21,7 +21,7 @@ class ScopedDBusError {
}
DBusError* get() { return &error_; }
- bool is_set() { return dbus_error_is_set(&error_); }
+ bool is_set() const { return dbus_error_is_set(&error_); }
const char* name() { return error_.name; }
const char* message() { return error_.message; }
« no previous file with comments | « dbus/bus.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698