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
cda27d2b
Commit
cda27d2b
authored
8 years ago
by
Gabi Melman
Committed by
GitHub
8 years ago
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #322 from onnodb/FixIssue321
Fix compilation errors in "wincolor_sink.h"
parents
b2ce6462
b61be732
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
wincolor_sink.h
include/spdlog/sinks/wincolor_sink.h
+3
-3
No files found.
include/spdlog/sinks/wincolor_sink.h
View file @
cda27d2b
...
@@ -66,7 +66,7 @@ public:
...
@@ -66,7 +66,7 @@ public:
// change the color for the given level
// change the color for the given level
void
set_color
(
level
::
level_enum
level
,
WORD
color
)
void
set_color
(
level
::
level_enum
level
,
WORD
color
)
{
{
std
::
lock_guard
<
Mutex
>
lock
(
_mutex
);
std
::
lock_guard
<
Mutex
>
lock
(
base_sink
<
Mutex
>::
_mutex
);
colors_
[
level
]
=
color
;
colors_
[
level
]
=
color
;
}
}
...
@@ -91,7 +91,7 @@ template<class Mutex>
...
@@ -91,7 +91,7 @@ template<class Mutex>
class
wincolor_stdout_sink
:
public
wincolor_sink
<
Mutex
>
class
wincolor_stdout_sink
:
public
wincolor_sink
<
Mutex
>
{
{
public
:
public
:
wincolor_stdout_sink
()
:
wincolor_sink
(
GetStdHandle
(
STD_OUTPUT_HANDLE
))
wincolor_stdout_sink
()
:
wincolor_sink
<
Mutex
>
(
GetStdHandle
(
STD_OUTPUT_HANDLE
))
{}
{}
};
};
...
@@ -105,7 +105,7 @@ template<class Mutex>
...
@@ -105,7 +105,7 @@ template<class Mutex>
class
wincolor_stderr_sink
:
public
wincolor_sink
<
Mutex
>
class
wincolor_stderr_sink
:
public
wincolor_sink
<
Mutex
>
{
{
public
:
public
:
wincolor_stderr_sink
()
:
wincolor_sink
(
GetStdHandle
(
STD_ERROR_HANDLE
))
wincolor_stderr_sink
()
:
wincolor_sink
<
Mutex
>
(
GetStdHandle
(
STD_ERROR_HANDLE
))
{}
{}
};
};
...
...
This diff is collapsed.
Click to expand it.
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