diff options
Diffstat (limited to 'src/gdbusxx/gdbus-cxx-bridge.cpp')
-rw-r--r-- | src/gdbusxx/gdbus-cxx-bridge.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gdbusxx/gdbus-cxx-bridge.cpp b/src/gdbusxx/gdbus-cxx-bridge.cpp index 238b52f0..a170b264 100644 --- a/src/gdbusxx/gdbus-cxx-bridge.cpp +++ b/src/gdbusxx/gdbus-cxx-bridge.cpp @@ -484,7 +484,7 @@ Watch::~Watch() void getWatch(ExtractArgs &context, boost::shared_ptr<Watch> &value) { - std::auto_ptr<Watch> watch(new Watch(context.m_conn)); + std::unique_ptr<Watch> watch(new Watch(context.m_conn)); watch->activate((context.m_msg && *context.m_msg) ? g_dbus_message_get_sender(*context.m_msg) : context.m_sender); |