Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
S
spdlog
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
spdlog
Commits
da2af6ea
Commit
da2af6ea
authored
Aug 13, 2018
by
gabime
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed some clang-tidy warning
parent
ba337d13
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
file_helper.h
include/spdlog/details/file_helper.h
+1
-1
registry.h
include/spdlog/details/registry.h
+1
-1
No files found.
include/spdlog/details/file_helper.h
View file @
da2af6ea
...
...
@@ -136,7 +136,7 @@ public:
// treat casese like "/etc/rc.d/somelogfile or "/abc/.hiddenfile"
auto
folder_index
=
fname
.
rfind
(
details
::
os
::
folder_sep
);
if
(
folder_index
!=
f
name
.
npos
&&
folder_index
>=
ext_index
-
1
)
if
(
folder_index
!=
f
ilename_t
::
npos
&&
folder_index
>=
ext_index
-
1
)
{
return
std
::
make_tuple
(
fname
,
spdlog
::
filename_t
());
}
...
...
include/spdlog/details/registry.h
View file @
da2af6ea
...
...
@@ -112,7 +112,7 @@ public:
void
flush_every
(
std
::
chrono
::
seconds
interval
)
{
std
::
lock_guard
<
std
::
mutex
>
lock
(
flusher_mutex_
);
std
::
function
<
void
()
>
clbk
(
std
::
bind
(
&
registry
::
flush_all
,
this
)
);
std
::
function
<
void
()
>
clbk
=
std
::
bind
(
&
registry
::
flush_all
,
this
);
periodic_flusher_
.
reset
(
new
periodic_worker
(
clbk
,
interval
));
}
...
...
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