From 58dfe5c9f77e7c3b6fe9bd4864db19c9092d186b Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Fri, 1 Aug 2014 08:49:16 -0700 Subject: [PATCH] Make format_decimal inline. --- format.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/format.h b/format.h index c02736ab..322c0bf8 100644 --- a/format.h +++ b/format.h @@ -484,7 +484,7 @@ extern const char DIGITS[]; // Formats a decimal unsigned integer value writing into buffer. template -void format_decimal(Char *buffer, UInt value, unsigned num_digits) { +inline void format_decimal(Char *buffer, UInt value, unsigned num_digits) { --num_digits; while (value >= 100) { // Integer division is slow so do it for a group of two digits instead