From addc7a16058efffbd9b21f3fac41d5fdeb53a59a Mon Sep 17 00:00:00 2001 From: Roker Date: Thu, 18 Oct 2018 18:05:49 +0200 Subject: [PATCH] correct initialization order: baseclass first, own members second --- Adapter.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { }