diff options
author | Bernard Normier <bernard@zeroc.com> | 2016-11-05 10:51:35 -0400 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2016-11-05 10:51:35 -0400 |
commit | 298bccf0b6243f2cd741af59b1547b915128356b (patch) | |
tree | aff10041d00b5aec3413e620db079cc735c83375 /cpp/src/IceBT | |
parent | Revert "Replaced double underscores in C# mapping by ice-prefix names" (diff) | |
download | ice-298bccf0b6243f2cd741af59b1547b915128356b.tar.bz2 ice-298bccf0b6243f2cd741af59b1547b915128356b.tar.xz ice-298bccf0b6243f2cd741af59b1547b915128356b.zip |
Revert "Reverted previous double-underscore changes in IceUtil classes"
This reverts commit 2e6243dd2955e6a292bbe8a569d4e1711253746a.
Diffstat (limited to 'cpp/src/IceBT')
-rw-r--r-- | cpp/src/IceBT/DBus.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/src/IceBT/DBus.cpp b/cpp/src/IceBT/DBus.cpp index 21b1c960b93..2b40398b39a 100644 --- a/cpp/src/IceBT/DBus.cpp +++ b/cpp/src/IceBT/DBus.cpp @@ -826,7 +826,7 @@ public: // Bump our refcount to ensure this object lives until the reply is received. // The pendingFree function will decrement the refcount. // - __incRef(); + iceIncRef(); if(!::dbus_pending_call_set_notify(_call, pendingCallCompletedCallback, this, pendingCallFree)) { @@ -971,7 +971,7 @@ pendingCallFree(void* userData) { AsyncResultI* r = static_cast<AsyncResultI*>(userData); assert(r); - r->__decRef(); + r->iceDecRef(); } static DBusHandlerResult filterCallback(DBusConnection*, DBusMessage*, void*); @@ -1117,7 +1117,7 @@ public: ::dbus_bus_add_match(_connection, "type='signal'", 0); //::dbus_bus_add_match(_connection, "type='method_call'", 0); - __incRef(); // iceDecRef called in freeConnection. + iceIncRef(); // iceDecRef called in freeConnection. _thread = new HelperThread(this); _thread->start(); @@ -1229,7 +1229,7 @@ static void freeConnection(void* p) { ConnectionI* c = static_cast<ConnectionI*>(p); assert(c); - c->__decRef(); + c->iceDecRef(); } } |