From 04e99fb2c2161f501072ddef2a044e5c529c81ac Mon Sep 17 00:00:00 2001 From: Volker Birk Date: Tue, 28 May 2019 12:41:18 +0200 Subject: [PATCH] ... --- Adapter.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Adapter.hxx b/Adapter.hxx index 02024b4..1bcaaa0 100644 --- a/Adapter.hxx +++ b/Adapter.hxx @@ -17,8 +17,8 @@ namespace pEp { SYNC_EVENT _retrieve_next_sync_event(void *management, unsigned threshold); - std::exception_ptr _ex; - bool register_done = false; + static std::exception_ptr _ex; + static bool register_done = false; template< class T > void sync_thread(T *obj, function< void(T *) > _startup, function< void(T *) > _shutdown) {