From 6506b7352325783d89b8ad4cf3113b940d03e00b Mon Sep 17 00:00:00 2001 From: gabime Date: Sun, 18 Aug 2019 17:33:35 +0300 Subject: [PATCH] Add noexcept to move ctor and operator= --- include/spdlog/logger.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/spdlog/logger.h b/include/spdlog/logger.h index ea1e14a8..c782e21a 100644 --- a/include/spdlog/logger.h +++ b/include/spdlog/logger.h @@ -63,11 +63,11 @@ public: virtual ~logger() = default; - logger(const logger &other); - logger(logger &&other); - logger &operator=(logger other); + logger(const logger &other) ; + logger(logger &&other) SPDLOG_NOEXCEPT; + logger &operator=(logger other) SPDLOG_NOEXCEPT; - void swap(spdlog::logger &other); + void swap(spdlog::logger &other) SPDLOG_NOEXCEPT; template void force_log(source_loc loc, level::level_enum lvl, string_view_t fmt, const Args &... args)