Corrected order of initialization

The C++ standards requires the order of init to be the order of declaration
master
heck 3 weeks ago
parent ea156f1467
commit c3a8a75c48
  1. 2
      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 }
{
}

Loading…
Cancel
Save