From 1c6f1bf24513b4e56f640eea402fa8223ea1c667 Mon Sep 17 00:00:00 2001 From: Luca Fedeli Date: Mon, 1 May 2023 18:25:01 +0200 Subject: Use WARPX_ABORT_WITH_MESSAGE("msg") instead of amrex::Abort(Utils::TextMsg::Err("msg")) (#3879) * use WARPX_ABORT_WITH_MSG instead of amrex::Abort(Utils::TextMsg::Err(msg)) [WIP] * use WARPX_ABORT_WITH_MESSAGE * fix typo * fix missing parenthesis * remove spaces to prevent automatic text wrapping * remove wrong parenthesis --- Source/Utils/Parser/ParserUtils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Utils/Parser/ParserUtils.cpp') diff --git a/Source/Utils/Parser/ParserUtils.cpp b/Source/Utils/Parser/ParserUtils.cpp index 48cc9b248..149b9d885 100644 --- a/Source/Utils/Parser/ParserUtils.cpp +++ b/Source/Utils/Parser/ParserUtils.cpp @@ -140,7 +140,7 @@ amrex::Parser utils::parser::makeParser ( ++it; } for (auto const& s : symbols) { - amrex::Abort(Utils::TextMsg::Err("makeParser::Unknown symbol "+s)); + WARPX_ABORT_WITH_MESSAGE("makeParser::Unknown symbol "+s); } return parser; } -- cgit v1.2.3