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
8bc1ca0e
Commit
8bc1ca0e
authored
Apr 12, 2020
by
gabime
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clang-format
parent
d38bd138
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
include/spdlog/details/fmt_helper.h
include/spdlog/details/fmt_helper.h
+1
-1
include/spdlog/pattern_formatter-inl.h
include/spdlog/pattern_formatter-inl.h
+0
-2
No files found.
include/spdlog/details/fmt_helper.h
View file @
8bc1ca0e
...
@@ -65,7 +65,7 @@ template<typename T>
...
@@ -65,7 +65,7 @@ template<typename T>
inline
void
pad3
(
T
n
,
memory_buf_t
&
dest
)
inline
void
pad3
(
T
n
,
memory_buf_t
&
dest
)
{
{
static_assert
(
std
::
is_unsigned
<
T
>::
value
,
"pad3 must get unsigned T"
);
static_assert
(
std
::
is_unsigned
<
T
>::
value
,
"pad3 must get unsigned T"
);
if
(
n
<
1000
)
if
(
n
<
1000
)
{
{
dest
.
push_back
(
static_cast
<
char
>
(
n
/
100
+
'0'
));
dest
.
push_back
(
static_cast
<
char
>
(
n
/
100
+
'0'
));
n
=
n
%
100
;
n
=
n
%
100
;
...
...
include/spdlog/pattern_formatter-inl.h
View file @
8bc1ca0e
...
@@ -659,7 +659,6 @@ public:
...
@@ -659,7 +659,6 @@ public:
}
}
};
};
// Current pid
// Current pid
template
<
typename
ScopedPadder
>
template
<
typename
ScopedPadder
>
class
pid_formatter
final
:
public
flag_formatter
class
pid_formatter
final
:
public
flag_formatter
...
@@ -694,7 +693,6 @@ public:
...
@@ -694,7 +693,6 @@ public:
}
}
};
};
template
<
typename
ScopedPadder
>
template
<
typename
ScopedPadder
>
class
v_formatter
final
:
public
flag_formatter
class
v_formatter
final
:
public
flag_formatter
{
{
...
...
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