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
433785dc
Commit
433785dc
authored
Sep 05, 2019
by
gabime
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix warnings and build
parent
28845b96
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
include/spdlog/details/backtracer.h
include/spdlog/details/backtracer.h
+1
-1
include/spdlog/details/circular_q.h
include/spdlog/details/circular_q.h
+1
-1
include/spdlog/details/log_msg_buffer.h
include/spdlog/details/log_msg_buffer.h
+2
-2
No files found.
include/spdlog/details/backtracer.h
View file @
433785dc
...
@@ -63,7 +63,7 @@ namespace spdlog {
...
@@ -63,7 +63,7 @@ namespace spdlog {
return
enabled_
.
load
(
std
::
memory_order_relaxed
);
return
enabled_
.
load
(
std
::
memory_order_relaxed
);
}
}
operator
bool
()
const
explicit
operator
bool
()
const
{
{
return
enabled
();
return
enabled
();
}
}
...
...
include/spdlog/details/circular_q.h
View file @
433785dc
...
@@ -35,7 +35,7 @@ namespace spdlog {
...
@@ -35,7 +35,7 @@ namespace spdlog {
// move cannot be default,
// move cannot be default,
// since we need to reset head_, tail_, etc to zero in the moved object
// since we need to reset head_, tail_, etc to zero in the moved object
circular_q
(
circular_q
&&
other
)
SPDLOG_NOEXCEPT
:
circular_q
(
circular_q
&&
other
)
SPDLOG_NOEXCEPT
{
{
copy_moveable
(
std
::
move
(
other
));
copy_moveable
(
std
::
move
(
other
));
}
}
...
...
include/spdlog/details/log_msg_buffer.h
View file @
433785dc
...
@@ -47,10 +47,10 @@ public:
...
@@ -47,10 +47,10 @@ public:
update_string_views
();
update_string_views
();
}
}
log_msg_buffer
&
operator
=
(
log_msg_buffer
&
other
)
log_msg_buffer
&
operator
=
(
const
log_msg_buffer
&
other
)
{
{
log_msg
::
operator
=
(
other
);
log_msg
::
operator
=
(
other
);
buffer
.
append
(
other
.
buffer
.
begin
(),
other
.
buffer
.
end
());
buffer
.
append
(
other
.
buffer
.
data
(),
other
.
buffer
.
data
()
+
other
.
buffer
.
size
());
update_string_views
();
update_string_views
();
return
*
this
;
return
*
this
;
}
}
...
...
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