mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 16:35:45 +08:00
Fixed tidy warning
This commit is contained in:
parent
6a53d6354b
commit
54d402e094
@ -48,8 +48,7 @@ class SPDLOG_API logger
|
||||
public:
|
||||
// Empty logger
|
||||
explicit logger(std::string name)
|
||||
: name_(std::move(name))
|
||||
, sinks_()
|
||||
: name_(std::move(name))
|
||||
{}
|
||||
|
||||
// Logger with range on sinks
|
||||
@ -227,7 +226,7 @@ public:
|
||||
// sinks
|
||||
[[nodiscard]] const std::vector<sink_ptr> &sinks() const;
|
||||
|
||||
std::vector<sink_ptr> &sinks();
|
||||
[[nodiscard]] std::vector<sink_ptr> &sinks();
|
||||
|
||||
// error handler
|
||||
void set_error_handler(err_handler);
|
||||
|
Loading…
Reference in New Issue
Block a user