Browse Source

Corrected order of initialization

The C++ standards requires the order of init to be the order of declaration
pull/15/head
heck 3 years ago
parent
commit
c3a8a75c48
  1. 2
      src/Adapter.cc

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