From d9f5089a18c24988c2a1d8fad055f448c634d99d Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Fri, 6 Jun 2014 08:00:20 -0700 Subject: [PATCH] Remove unnecessary qualification. --- format.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/format.h b/format.h index 3f8a46b9..41265eca 100644 --- a/format.h +++ b/format.h @@ -450,8 +450,8 @@ void FormatDecimal(Char *buffer, UInt value, unsigned num_digits) { // "Three Optimization Tips for C++". See speed-test for a comparison. unsigned index = (value % 100) * 2; value /= 100; - buffer[num_digits] = internal::DIGITS[index + 1]; - buffer[num_digits - 1] = internal::DIGITS[index]; + buffer[num_digits] = DIGITS[index + 1]; + buffer[num_digits - 1] = DIGITS[index]; num_digits -= 2; } if (value < 10) { @@ -459,8 +459,8 @@ void FormatDecimal(Char *buffer, UInt value, unsigned num_digits) { return; } unsigned index = static_cast(value * 2); - buffer[1] = internal::DIGITS[index + 1]; - buffer[0] = internal::DIGITS[index]; + buffer[1] = DIGITS[index + 1]; + buffer[0] = DIGITS[index]; } template