Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
fmt
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
fmt
Commits
c00eb4f4
Commit
c00eb4f4
authored
Sep 10, 2021
by
Victor Zverovich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add missing inline
parent
25af02f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
include/fmt/chrono.h
include/fmt/chrono.h
+2
-2
No files found.
include/fmt/chrono.h
View file @
c00eb4f4
...
@@ -485,8 +485,8 @@ inline size_t strftime(wchar_t* str, size_t count, const wchar_t* format,
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment