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
e3699070
Commit
e3699070
authored
Nov 03, 2019
by
gabime
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clang-format
parent
bf408558
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
9 deletions
+5
-9
thread_pool-inl.h
include/spdlog/details/thread_pool-inl.h
+4
-8
test_macros.cpp
tests/test_macros.cpp
+1
-1
No files found.
include/spdlog/details/thread_pool-inl.h
View file @
e3699070
...
...
@@ -98,24 +98,20 @@ bool SPDLOG_INLINE thread_pool::process_next_msg_()
switch
(
incoming_async_msg
.
msg_type
)
{
case
async_msg_type
:
:
log
:
{
case
async_msg_type
:
:
log
:
{
incoming_async_msg
.
worker_ptr
->
backend_sink_it_
(
incoming_async_msg
);
return
true
;
}
case
async_msg_type
:
:
flush
:
{
case
async_msg_type
:
:
flush
:
{
incoming_async_msg
.
worker_ptr
->
backend_flush_
();
return
true
;
}
case
async_msg_type
:
:
terminate
:
{
case
async_msg_type
:
:
terminate
:
{
return
false
;
}
default
:
{
default
:
{
assert
(
false
&&
"Unexpected async_msg_type"
);
}
}
...
...
tests/test_macros.cpp
View file @
e3699070
...
...
@@ -49,7 +49,7 @@ TEST_CASE("pass logger pointer", "[macros]")
}
// ensure that even if right macro level is on- don't evaluate if the logger's level is not high enough
//TEST_CASE("disable param evaluation2", "[macros]")
//
TEST_CASE("disable param evaluation2", "[macros]")
//{
// auto logger = std::make_shared<spdlog::logger>("test-macro");
// logger->set_level(spdlog::level::off);
...
...
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