mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-29 01:29:35 +08:00
Fix compile bug
This commit is contained in:
@@ -61,7 +61,7 @@ public:
|
||||
|
||||
// Logger with single sink
|
||||
logger(std::string name, sink_ptr single_sink)
|
||||
: logger(std::move(name), std::move(single_sink))
|
||||
: logger(std::move(name), {std::move(single_sink)})
|
||||
{}
|
||||
|
||||
// Logger with sinks init list
|
||||
|
Reference in New Issue
Block a user