From 7ea951613db61e943b11a888d1474273ee1e82ac Mon Sep 17 00:00:00 2001 From: gabime Date: Sun, 18 Aug 2019 17:45:09 +0300 Subject: [PATCH] Update logger-inl.h --- include/spdlog/logger-inl.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/spdlog/logger-inl.h b/include/spdlog/logger-inl.h index f644864c..f9f74ae6 100644 --- a/include/spdlog/logger-inl.h +++ b/include/spdlog/logger-inl.h @@ -23,7 +23,7 @@ SPDLOG_INLINE logger::logger(const logger &other) , custom_err_handler_(other.custom_err_handler_) {} -SPDLOG_INLINE logger::logger(logger &&other) +SPDLOG_INLINE logger::logger(logger &&other) SPDLOG_NOEXCEPT : name_(std::move(other.name_)) , sinks_(std::move(other.sinks_)) , level_(other.level_.load(std::memory_order_relaxed)) @@ -31,13 +31,13 @@ SPDLOG_INLINE logger::logger(logger &&other) , custom_err_handler_(std::move(other.custom_err_handler_)) {} -SPDLOG_INLINE logger &logger::operator=(logger other) +SPDLOG_INLINE logger &logger::operator=(logger other) SPDLOG_NOEXCEPT { this->swap(other); return *this; } -SPDLOG_INLINE void logger::swap(spdlog::logger &other) +SPDLOG_INLINE void logger::swap(spdlog::logger &other) SPDLOG_NOEXCEPT { name_.swap(other.name_); sinks_.swap(other.sinks_);