Properly default initialze DBus dispatcher

This commit is contained in:
Roland Winklmeier
2018-08-07 14:36:02 +02:00
committed by Klaus Basan
parent 868cae446a
commit 000bdee457

View File

@@ -73,9 +73,9 @@ namespace XSwiftBus
void operator()(DBusServer *obj) const { dbus_server_unref(obj); }
};
CDBusDispatcher *m_dispatcher = nullptr;
std::unique_ptr<DBusServer, DBusServerDeleter> m_server;
CDBusError m_lastError;
CDBusDispatcher *m_dispatcher;
NewConnectionFunc m_newConnectionFunc;
};