Skip to content

Commit adfa5ed

Browse files
committed
fixed readability-math-missing-parentheses clang-tidy warnings
1 parent e0dd241 commit adfa5ed

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

simplecpp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -858,7 +858,7 @@ void simplecpp::TokenList::readfile(Stream &stream, const std::string &filename,
858858
back()->setstr(currentToken);
859859
location.adjust(currentToken);
860860
if (currentToken.find_first_of("\r\n") == std::string::npos)
861-
location.col += 2 + 2 * delim.size();
861+
location.col += 2 + (2 * delim.size());
862862
else
863863
location.col += 1 + delim.size();
864864

0 commit comments

Comments
 (0)