Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
spdlog
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
spdlog
Commits
1c8cc65f
Commit
1c8cc65f
authored
Oct 24, 2017
by
Berkus Decker
Committed by
GitHub
Oct 24, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typos
parent
a6b5ef55
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
include/spdlog/details/pattern_formatter_impl.h
include/spdlog/details/pattern_formatter_impl.h
+2
-2
No files found.
include/spdlog/details/pattern_formatter_impl.h
View file @
1c8cc65f
...
@@ -119,14 +119,14 @@ class B_formatter:public flag_formatter
...
@@ -119,14 +119,14 @@ class B_formatter:public flag_formatter
};
};
//write 2 ints sep
e
rated by sep with padding of 2
//write 2 ints sep
a
rated by sep with padding of 2
static
fmt
::
MemoryWriter
&
pad_n_join
(
fmt
::
MemoryWriter
&
w
,
int
v1
,
int
v2
,
char
sep
)
static
fmt
::
MemoryWriter
&
pad_n_join
(
fmt
::
MemoryWriter
&
w
,
int
v1
,
int
v2
,
char
sep
)
{
{
w
<<
fmt
::
pad
(
v1
,
2
,
'0'
)
<<
sep
<<
fmt
::
pad
(
v2
,
2
,
'0'
);
w
<<
fmt
::
pad
(
v1
,
2
,
'0'
)
<<
sep
<<
fmt
::
pad
(
v2
,
2
,
'0'
);
return
w
;
return
w
;
}
}
//write 3 ints sep
e
rated by sep with padding of 2
//write 3 ints sep
a
rated by sep with padding of 2
static
fmt
::
MemoryWriter
&
pad_n_join
(
fmt
::
MemoryWriter
&
w
,
int
v1
,
int
v2
,
int
v3
,
char
sep
)
static
fmt
::
MemoryWriter
&
pad_n_join
(
fmt
::
MemoryWriter
&
w
,
int
v1
,
int
v2
,
int
v3
,
char
sep
)
{
{
w
<<
fmt
::
pad
(
v1
,
2
,
'0'
)
<<
sep
<<
fmt
::
pad
(
v2
,
2
,
'0'
)
<<
sep
<<
fmt
::
pad
(
v3
,
2
,
'0'
);
w
<<
fmt
::
pad
(
v1
,
2
,
'0'
)
<<
sep
<<
fmt
::
pad
(
v2
,
2
,
'0'
)
<<
sep
<<
fmt
::
pad
(
v3
,
2
,
'0'
);
...
...
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