Skip to content

Commit ca19732

Browse files
committed
fixed readability-math-missing-parentheses clang-tidy warnings
1 parent dfb657c commit ca19732

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

simplecpp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -865,7 +865,7 @@ void simplecpp::TokenList::readfile(Stream &stream, const std::string &filename,
865865
back()->setstr(currentToken);
866866
location.adjust(currentToken);
867867
if (currentToken.find_first_of("\r\n") == std::string::npos)
868-
location.col += 2 + 2 * delim.size();
868+
location.col += 2 + (2 * delim.size());
869869
else
870870
location.col += 1 + delim.size();
871871

0 commit comments

Comments
 (0)