Fixed tidy warning

This commit is contained in:
gabime 2023-07-28 18:45:31 +03:00
parent 6a53d6354b
commit 54d402e094

View File

@ -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);