diff --git a/Adapter.cc b/Adapter.cc index fba18ed..27186ae 100644 --- a/Adapter.cc +++ b/Adapter.cc @@ -83,7 +83,7 @@ namespace pEp { return q.pop_front(); } - template< class T > static void sync_thread(T *obj, function< void(T *) > _startup, function< void(T *) > _shutdown) + template< class T > static void sync_thread(T *obj, function< void (T *) > _startup, function< void (T *) > _shutdown) { PEP_STATUS status = register_sync_callbacks(session(), nullptr, _notifyHandshake, _retrieve_next_sync_event); @@ -104,7 +104,7 @@ namespace pEp { template< class T > void startup(messageToSend_t messageToSend, notifyHandshake_t notifyHandshake, T *obj, function< void (T *) > _startup, - function< void(T *) > _shutdown + function< void (T *) > _shutdown ) { if (messageToSend) diff --git a/Adapter.hh b/Adapter.hh index 6c16a6b..237d437 100644 --- a/Adapter.hh +++ b/Adapter.hh @@ -24,7 +24,7 @@ namespace pEp { template void startup(messageToSend_t messageToSend, notifyHandshake_t notifyHandshake, T *obj = nullptr, function< void (T *) > _startup = nullptr, - function< void(T *) > _shutdown = nullptr + function< void (T *) > _shutdown = nullptr ); enum session_action {