diff --git a/Adapter.cc b/Adapter.cc index 88d1e4b..d6741df 100644 --- a/Adapter.cc +++ b/Adapter.cc @@ -26,7 +26,7 @@ namespace pEp { } 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) { }