From c3a8a75c48dc0a0960ba7f7f5798b4e1b87aaa43 Mon Sep 17 00:00:00 2001 From: heck Date: Mon, 7 Nov 2022 14:36:29 +0100 Subject: [PATCH] Corrected order of initialization The C++ standards requires the order of init to be the order of declaration --- src/Adapter.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Adapter.cc b/src/Adapter.cc index e0f53de..a5c0c8b 100644 --- a/src/Adapter.cc +++ b/src/Adapter.cc @@ -104,7 +104,7 @@ namespace pEp { // --------------------------------------------------------------------------------------- Session::Session() : - _messageToSend{ nullptr }, _notifyHandshake{ nullptr }, _sync_mode{ SyncModes::Async }, + _sync_mode{ SyncModes::Async }, _messageToSend{ nullptr }, _notifyHandshake{ nullptr }, _adapter_manages_sync_thread{ false }, _inject_action{ nullptr } { }