diff options
author | Stefan Laner <laner@itestra.de> | 2014-02-24 09:57:40 +0100 |
---|---|---|
committer | Stefan Laner <laner@itestra.de> | 2014-02-26 11:34:55 +0100 |
commit | 356ad3559a386865673aed7738c877206a73e390 (patch) | |
tree | 140e2c5a1f05babdcb9e739ef4604390bd7c26d5 /src/CommonAPI/DBus/DBusConnection.cpp | |
parent | ea1f26308a75266087251b0cf7780699f5e125cf (diff) | |
download | genivi-common-api-dbus-runtime-356ad3559a386865673aed7738c877206a73e390.tar.gz |
Windows support, fixed attribute handling with inherited interfaces
Change-Id: I8c0248d25f267333878166dbab790e4ffa353e54
Diffstat (limited to 'src/CommonAPI/DBus/DBusConnection.cpp')
-rw-r--r-- | src/CommonAPI/DBus/DBusConnection.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/CommonAPI/DBus/DBusConnection.cpp b/src/CommonAPI/DBus/DBusConnection.cpp index 1d95989..8f0bd86 100644 --- a/src/CommonAPI/DBus/DBusConnection.cpp +++ b/src/CommonAPI/DBus/DBusConnection.cpp @@ -43,10 +43,11 @@ const DBusObjectPathVTable* DBusConnection::getDBusObjectPathVTable() { } + //std::bind used to start the dispatch thread holds one reference, and the selfReference //created within the thread is the second. If only those two remain, no one but the //dispatch thread references the connection, which therefore can be finished. -constexpr uint32_t ownUseCount = 2; +const uint32_t ownUseCount = 2; void DBusConnection::dispatch() { std::shared_ptr<DBusConnection> selfReference = this->shared_from_this(); |