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
c1a524a9
Commit
c1a524a9
authored
Aug 19, 2019
by
gabime
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed clang-tidy warnings
parent
23807e12
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
9 deletions
+4
-9
registry-inl.h
include/spdlog/details/registry-inl.h
+0
-1
thread_pool.h
include/spdlog/details/thread_pool.h
+4
-8
No files found.
include/spdlog/details/registry-inl.h
View file @
c1a524a9
...
...
@@ -32,7 +32,6 @@ namespace details {
SPDLOG_INLINE
registry
::
registry
()
:
formatter_
(
new
pattern_formatter
())
,
level_
(
spdlog
::
level
::
info
)
{
#ifndef SPDLOG_DISABLE_DEFAULT_LOGGER
...
...
include/spdlog/details/thread_pool.h
View file @
c1a524a9
...
...
@@ -31,20 +31,16 @@ enum class async_msg_type
// Movable only. should never be copied
struct
async_msg
{
async_msg_type
msg_type
;
level
::
level_enum
level
;
async_msg_type
msg_type
{
async_msg_type
::
log
}
;
level
::
level_enum
level
{
level
::
info
}
;
log_clock
::
time_point
time
;
size_t
thread_id
;
size_t
thread_id
{
0
}
;
fmt
::
basic_memory_buffer
<
char
,
176
>
raw
;
source_loc
source
;
async_logger_ptr
worker_ptr
;
async_msg
()
:
msg_type
(
async_msg_type
::
log
)
,
level
(
level
::
info
)
,
thread_id
(
0
)
{}
async_msg
()
=
default
;
~
async_msg
()
=
default
;
// should only be moved in or out of the queue..
...
...
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