Two warnings at muParserTokenReader.cpp
vrykovan opened this issue · 0 comments
Type of variable auto iEnd
not equals the function return type int
.
muparser/src/muParserTokenReader.cpp
Line 372 in e70f957
muparser/src/muParserTokenReader.cpp
Line 395 in e70f957
So I guess to use the
return static_cast<int>(iEnd)
at muparser/src/muParserTokenReader.cpp
Line 381 in e70f957
muparser/src/muParserTokenReader.cpp
Line 403 in e70f957
or
to use auto function return type deduction, i.e. auto ParserTokenReader::ExtractToken(const char_type* a_szCharSet, string_type& a_sTok, std::size_t a_iPos) const
at
muparser/src/muParserTokenReader.cpp
Line 370 in e70f957
auto ParserTokenReader::ExtractOperatorToken(string_type& a_sTok, std::size_t a_iPos) const
at muparser/src/muParserTokenReader.cpp
Line 392 in e70f957