mirror of
https://github.com/gabime/spdlog.git
synced 2025-10-02 11:29:01 +08:00
code formatting and clang tidy warnings fixes
This commit is contained in:
@@ -24,8 +24,8 @@ class syslog_sink : public base_sink<Mutex>
|
||||
{
|
||||
public:
|
||||
//
|
||||
syslog_sink(const std::string &ident = "", int syslog_option = 0, int syslog_facility = LOG_USER)
|
||||
: ident_(ident)
|
||||
explicit syslog_sink(std::string ident = "", int syslog_option = 0, int syslog_facility = LOG_USER)
|
||||
: ident_(std::move(ident))
|
||||
{
|
||||
priorities_[static_cast<size_t>(level::trace)] = LOG_DEBUG;
|
||||
priorities_[static_cast<size_t>(level::debug)] = LOG_DEBUG;
|
||||
|
Reference in New Issue
Block a user