Style fixes.
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Deukhoofd 2020-08-16 17:34:58 +02:00
parent 73e67b8c5d
commit 5c9e58d032
Signed by: Deukhoofd
GPG Key ID: F63E044490819F6F
2 changed files with 5 additions and 3 deletions

View File

@ -83,7 +83,8 @@ namespace ArbUt {
}
ss << " " << function << std::endl;
}
static void AppendSourceStack(std::stringstream& ss, const backward::ResolvedTrace& trace, bool& foundExceptionClass) {
static void AppendSourceStack(std::stringstream& ss, const backward::ResolvedTrace& trace,
bool& foundExceptionClass) {
auto fileName =
(strrchr(trace.source.filename.c_str(), '/') ? strrchr(trace.source.filename.c_str(), '/') + 1
: trace.source.filename.c_str());

View File

@ -6,7 +6,8 @@ using namespace ArbUt;
#ifndef WINDOWS
__attribute__((optnone))
#endif
static void Thrower(){
static void
Thrower() {
throw ArbUt::Exception("foobar");
}