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
2278e923
Commit
2278e923
authored
Dec 02, 2014
by
gabime
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
some fixes for gcc
parent
26cf0b38
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
example/bench.cpp
example/bench.cpp
+1
-1
include/spdlog/details/pattern_formatter_impl.h
include/spdlog/details/pattern_formatter_impl.h
+1
-1
No files found.
example/bench.cpp
View file @
2278e923
...
...
@@ -113,7 +113,7 @@ void bench(int howmany, std::shared_ptr<spdlog::logger> log)
auto
start
=
system_clock
::
now
();
for
(
auto
i
=
0
;
i
<
howmany
;
++
i
)
{
log
->
info
(
"Hello logger: msg number "
,
i
);
log
->
info
(
"Hello logger: msg number
{}
"
,
i
);
}
...
...
include/spdlog/details/pattern_formatter_impl.h
View file @
2278e923
...
...
@@ -289,7 +289,7 @@ class T_formatter :public flag_formatter
class
z_formatter
:
public
flag_formatter
{
public:
const
std
::
chrono
::
seconds
cache_refresh
=
const
std
::
chrono
::
seconds
(
5
);
const
std
::
chrono
::
seconds
cache_refresh
=
std
::
chrono
::
seconds
(
5
);
z_formatter
()
:
_last_update
(
std
::
chrono
::
seconds
(
0
))
{}
z_formatter
(
const
z_formatter
&
)
=
delete
;
...
...
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