From 492949c1be0f1d14c82726e5350bc279fa15de9b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 2 Jun 2020 06:05:26 +0000 Subject: [PATCH] [clang-format-command] fixes --- src/sys/boutexception.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/sys/boutexception.cxx b/src/sys/boutexception.cxx index 1f25c32ea9..edede438c9 100644 --- a/src/sys/boutexception.cxx +++ b/src/sys/boutexception.cxx @@ -54,7 +54,8 @@ std::string BoutException::getBacktrace() const { if (dladdr(trace[i],&info)){ // Additionally, check whether this is the default offset for an executable if (info.dli_fbase != reinterpret_cast(0x400000)) - ptr=reinterpret_cast(reinterpret_cast(trace[i])-reinterpret_cast(info.dli_fbase)); + ptr = reinterpret_cast(reinterpret_cast(trace[i]) + - reinterpret_cast(info.dli_fbase)); } // Pipe stderr to /dev/null to avoid cluttering output