mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 12:55:33 +08:00
Ref T709, style
This commit is contained in:
committed by
Mat Sutcliffe
parent
cbd93da1c6
commit
8845d1d35c
@@ -18,7 +18,6 @@
|
||||
|
||||
namespace XSwiftBus
|
||||
{
|
||||
|
||||
CDBusServer::CDBusServer()
|
||||
{
|
||||
dbus_threads_init_default();
|
||||
@@ -78,6 +77,7 @@ namespace XSwiftBus
|
||||
|
||||
void CDBusServer::onNewConnection(DBusServer *, DBusConnection *conn)
|
||||
{
|
||||
// called by listener and the DBus connection for xSwiftBus afterwards
|
||||
INFO_LOG("onNewConnection");
|
||||
auto dbusConnection = std::make_shared<CDBusConnection>(conn);
|
||||
m_newConnectionFunc(dbusConnection);
|
||||
@@ -88,5 +88,4 @@ namespace XSwiftBus
|
||||
auto *obj = static_cast<CDBusServer *>(data);
|
||||
obj->onNewConnection(server, conn);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user