No need to use std::min() in normalizeCharacterLiteral.

This commit is contained in:
Simon Martin 2016-05-22 22:59:32 +02:00
parent 4bb99a7887
commit ce05d23bb7
1 changed files with 1 additions and 1 deletions

View File

@ -393,7 +393,7 @@ std::string MathLib::normalizeCharacterLiteral(const std::string& iLiteral)
continue;
}
// Single digit octal number
if (1 == std::min<unsigned>(3, iLiteralLen - idx)) {
if (1 == iLiteralLen - idx) {
switch (iLiteral[idx]) {
case '0':
case '1':