Commit 58dfe5c9 authored by Victor Zverovich's avatar Victor Zverovich

Make format_decimal inline.

parent 3390a951
......@@ -484,7 +484,7 @@ extern const char DIGITS[];
// Formats a decimal unsigned integer value writing into buffer.
template <typename UInt, typename Char>
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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment