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
bd9e1475
Commit
bd9e1475
authored
Sep 07, 2019
by
gabime
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clang-format
parent
68832679
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
10 deletions
+9
-10
include/spdlog/details/circular_q.h
include/spdlog/details/circular_q.h
+1
-1
include/spdlog/logger-inl.h
include/spdlog/logger-inl.h
+6
-6
include/spdlog/spdlog.h
include/spdlog/spdlog.h
+0
-1
src/fmt.cpp
src/fmt.cpp
+2
-2
No files found.
include/spdlog/details/circular_q.h
View file @
bd9e1475
include/spdlog/logger-inl.h
View file @
bd9e1475
...
...
@@ -46,14 +46,14 @@ SPDLOG_INLINE void logger::swap(spdlog::logger &other) SPDLOG_NOEXCEPT
sinks_
.
swap
(
other
.
sinks_
);
// swap level_
auto
tmp
=
other
.
level_
.
load
();
tmp
=
level_
.
exchange
(
tmp
);
other
.
level_
.
store
(
tmp
);
auto
other_level
=
other
.
level_
.
load
();
auto
my_level
=
level_
.
exchange
(
other_level
);
other
.
level_
.
store
(
my_level
);
// swap flush level_
tmp
=
other
.
flush_level_
.
load
();
tmp
=
flush_level_
.
exchange
(
tmp
);
other
.
flush_level_
.
store
(
tmp
);
other_level
=
other
.
flush_level_
.
load
();
my_level
=
flush_level_
.
exchange
(
other_level
);
other
.
flush_level_
.
store
(
my_level
);
custom_err_handler_
.
swap
(
other
.
custom_err_handler_
);
std
::
swap
(
tracer_
,
other
.
tracer_
);
...
...
include/spdlog/spdlog.h
View file @
bd9e1475
...
...
@@ -15,7 +15,6 @@
#include "spdlog/version.h"
#include "spdlog/details/synchronous_factory.h"
#include <chrono>
#include <functional>
#include <memory>
...
...
src/fmt.cpp
View file @
bd9e1475
...
...
@@ -21,8 +21,8 @@ template FMT_API void internal::buffer<char>::append(const char *, const char *)
template
FMT_API
void
internal
::
arg_map
<
format_context
>
::
init
(
const
basic_format_args
<
format_context
>
&
args
);
template
FMT_API
std
::
string
internal
::
vformat
<
char
>(
string_view
,
basic_format_args
<
format_context
>);
template
FMT_API
format_context
::
iterator
internal
::
vformat_to
(
internal
::
buffer
<
char
>
&
,
string_view
,
basic_format_args
<
format_context
>);
template
FMT_API
char
*
internal
::
sprintf_format
(
double
,
internal
::
buffer
<
char
>
&
,
sprintf_specs
);
template
FMT_API
char
*
internal
::
sprintf_format
(
long
double
,
internal
::
buffer
<
char
>
&
,
sprintf_specs
);
template
FMT_API
char
*
internal
::
sprintf_format
(
double
,
internal
::
buffer
<
char
>
&
,
sprintf_specs
);
template
FMT_API
char
*
internal
::
sprintf_format
(
long
double
,
internal
::
buffer
<
char
>
&
,
sprintf_specs
);
// Explicit instantiations for wchar_t.
template
FMT_API
wchar_t
internal
::
thousands_sep_impl
(
locale_ref
);
...
...
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