From 6bbe1edff7788d974e1c4ccfbf0f12767c0c49f3 Mon Sep 17 00:00:00 2001 From: Volker Birk Date: Thu, 18 Oct 2018 10:56:04 +0200 Subject: [PATCH] ... --- Adapter.cc | 4 ++-- Adapter.hh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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 {