Merge pull request #798 from simartin/ticket_7452_nomin

No need to use std::min() in normalizeCharacterLiteral.
This commit is contained in:
Daniel Marjamäki 2016-05-23 12:06:38 +02:00
commit 9ea9ae6b87
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':