From ce05d23bb77fc6ebe98f4d7aa876750ec0cdb833 Mon Sep 17 00:00:00 2001 From: Simon Martin Date: Sun, 22 May 2016 22:59:32 +0200 Subject: [PATCH] No need to use std::min() in normalizeCharacterLiteral. --- lib/mathlib.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mathlib.cpp b/lib/mathlib.cpp index dd0869629..8daddc0ff 100644 --- a/lib/mathlib.cpp +++ b/lib/mathlib.cpp @@ -393,7 +393,7 @@ std::string MathLib::normalizeCharacterLiteral(const std::string& iLiteral) continue; } // Single digit octal number - if (1 == std::min(3, iLiteralLen - idx)) { + if (1 == iLiteralLen - idx) { switch (iLiteral[idx]) { case '0': case '1':