mirror of
https://github.com/gabime/spdlog.git
synced 2025-03-31 22:00:24 +08:00
noexcept
This commit is contained in:
parent
f467be8edb
commit
08a9604a57
@ -42,7 +42,7 @@ public:
|
||||
logger(std::string name, sinks_init_list sinks)
|
||||
: logger(std::move(name), sinks.begin(), sinks.end()) {}
|
||||
|
||||
logger(const logger &other) noexcept;
|
||||
logger(const logger &other) ;
|
||||
logger(logger &&other) noexcept;
|
||||
|
||||
~logger() = default;
|
||||
|
@ -9,7 +9,7 @@
|
||||
namespace spdlog {
|
||||
|
||||
// public methods
|
||||
logger::logger(const logger &other) noexcept
|
||||
logger::logger(const logger &other)
|
||||
: name_(other.name_),
|
||||
sinks_(other.sinks_),
|
||||
level_(other.level_.load(std::memory_order_relaxed)),
|
||||
|
Loading…
x
Reference in New Issue
Block a user