Browse Source

correct initialization order: baseclass first, own members second

sync
Roker 7 years ago
parent
commit
addc7a1605
  1. 2
      Adapter.cc

2
Adapter.cc

@ -26,7 +26,7 @@ namespace pEp {
} }
RuntimeError::RuntimeError(string _text, PEP_STATUS _status) RuntimeError::RuntimeError(string _text, PEP_STATUS _status)
: text(_text), runtime_error(text.c_str()), status(_status) : runtime_error(_text.c_str()), text(_text), status(_status)
{ {
} }

Loading…
Cancel
Save