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