summaryrefslogtreecommitdiffstats
path: root/dbus/mock_bus.h
diff options
context:
space:
mode:
Diffstat (limited to 'dbus/mock_bus.h')
-rw-r--r--dbus/mock_bus.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/dbus/mock_bus.h b/dbus/mock_bus.h
index bc25fb6..6a228a6 100644
--- a/dbus/mock_bus.h
+++ b/dbus/mock_bus.h
@@ -18,7 +18,6 @@ namespace dbus {
class MockBus : public Bus {
public:
MockBus(Bus::Options& options);
- virtual ~MockBus();
MOCK_METHOD2(GetObjectProxy, ObjectProxy*(const std::string& service_name,
const ObjectPath& object_path));
@@ -71,6 +70,9 @@ class MockBus : public Bus {
MOCK_METHOD0(HasDBusThread, bool());
MOCK_METHOD0(AssertOnOriginThread, void());
MOCK_METHOD0(AssertOnDBusThread, void());
+
+ protected:
+ virtual ~MockBus();
};
} // namespace dbus