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
bff85725
Commit
bff85725
authored
Nov 08, 2019
by
gabime
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed some more clang-tidy warnings
parent
93008b23
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
include/spdlog/details/log_msg_buffer-inl.h
include/spdlog/details/log_msg_buffer-inl.h
+2
-2
include/spdlog/details/log_msg_buffer.h
include/spdlog/details/log_msg_buffer.h
+1
-1
include/spdlog/details/pattern_formatter-inl.h
include/spdlog/details/pattern_formatter-inl.h
+1
-1
include/spdlog/logger-inl.h
include/spdlog/logger-inl.h
+1
-1
No files found.
include/spdlog/details/log_msg_buffer-inl.h
View file @
bff85725
...
...
@@ -42,9 +42,9 @@ SPDLOG_INLINE log_msg_buffer &log_msg_buffer::operator=(const log_msg_buffer &ot
return
*
this
;
}
SPDLOG_INLINE
log_msg_buffer
&
log_msg_buffer
::
operator
=
(
log_msg_buffer
&&
other
)
SPDLOG_INLINE
log_msg_buffer
&
log_msg_buffer
::
operator
=
(
log_msg_buffer
&&
other
)
SPDLOG_NOEXCEPT
{
log_msg
::
operator
=
(
std
::
move
(
other
)
);
log_msg
::
operator
=
(
other
);
buffer
=
std
::
move
(
other
.
buffer
);
update_string_views
();
return
*
this
;
...
...
include/spdlog/details/log_msg_buffer.h
View file @
bff85725
...
...
@@ -22,7 +22,7 @@ public:
log_msg_buffer
(
const
log_msg_buffer
&
other
);
log_msg_buffer
(
log_msg_buffer
&&
other
)
SPDLOG_NOEXCEPT
;
log_msg_buffer
&
operator
=
(
const
log_msg_buffer
&
other
);
log_msg_buffer
&
operator
=
(
log_msg_buffer
&&
other
);
log_msg_buffer
&
operator
=
(
log_msg_buffer
&&
other
)
SPDLOG_NOEXCEPT
;
};
}
// namespace details
...
...
include/spdlog/details/pattern_formatter-inl.h
View file @
bff85725
...
...
@@ -876,7 +876,7 @@ public:
fmt_helper
::
pad6
(
static_cast
<
size_t
>
(
delta_units
.
count
()),
dest
);
}
pr
otected
:
pr
ivate
:
log_clock
::
time_point
last_message_time_
;
};
...
...
include/spdlog/logger-inl.h
View file @
bff85725
...
...
@@ -150,7 +150,7 @@ SPDLOG_INLINE std::vector<sink_ptr> &logger::sinks()
// error handler
SPDLOG_INLINE
void
logger
::
set_error_handler
(
err_handler
handler
)
{
custom_err_handler_
=
handler
;
custom_err_handler_
=
std
::
move
(
handler
)
;
}
// create new logger with same sinks and configuration.
...
...
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