Skip to content

Commit 4fd40c5

Browse files
committed
fixed readability-math-missing-parentheses clang-tidy warnings
1 parent 0902950 commit 4fd40c5

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
@@ -874,7 +874,7 @@ void simplecpp::TokenList::readfile(Stream &stream, const std::string &filename,
874874
back()->setstr(currentToken);
875875
location.adjust(currentToken);
876876
if (currentToken.find_first_of("\r\n") == std::string::npos)
877-
location.col += 2 + 2 * delim.size();
877+
location.col += 2 + (2 * delim.size());
878878
else
879879
location.col += 1 + delim.size();
880880

0 commit comments

Comments
 (0)