mirror of
https://github.com/fmtlib/fmt.git
synced 2025-07-30 10:47:35 +02:00
Add missing inline
This commit is contained in:
@ -485,8 +485,8 @@ inline size_t strftime(wchar_t* str, size_t count, const wchar_t* format,
|
|||||||
// Writes two-digit numbers a, b and c separated by sep to buf.
|
// Writes two-digit numbers a, b and c separated by sep to buf.
|
||||||
// The method by Pavel Novikov based on
|
// The method by Pavel Novikov based on
|
||||||
// https://johnnylee-sde.github.io/Fast-unsigned-integer-to-time-string/.
|
// https://johnnylee-sde.github.io/Fast-unsigned-integer-to-time-string/.
|
||||||
void write_digit2_separated(char* buf, unsigned a, unsigned b, unsigned c,
|
inline void write_digit2_separated(char* buf, unsigned a, unsigned b,
|
||||||
char sep) {
|
unsigned c, char sep) {
|
||||||
unsigned long long digits =
|
unsigned long long digits =
|
||||||
a | (b << 24) | (static_cast<unsigned long long>(c) << 48);
|
a | (b << 24) | (static_cast<unsigned long long>(c) << 48);
|
||||||
// Convert each value to BCD.
|
// Convert each value to BCD.
|
||||||
|
Reference in New Issue
Block a user