Skip to content

Commit 25298c1

Browse files
author
Daniel Marjamäki
committed
format
1 parent 6d85e61 commit 25298c1

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

lib/errorlogger.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,10 @@ ErrorMessage::ErrorMessage(ErrorPath errorPath, const TokenList *tokenList, Seve
165165

166166
std::list<const Token*> tokens;
167167
std::transform(errorPath.cbegin(), errorPath.cend(), std::back_inserter(tokens),
168-
[](const ErrorPathItem& e) { return e.first; });
169-
calculateWarningHash(tokens);
168+
[](const ErrorPathItem& e) {
169+
return e.first;
170+
});
171+
calculateWarningHash(tokens);
170172
}
171173

172174
// TODO: improve errorhandling?

0 commit comments

Comments
 (0)