Add noexcept to move ctor and operator=

This commit is contained in:
gabime 2019-08-18 17:33:35 +03:00
parent 639029007d
commit 6506b73523

View File

@ -64,10 +64,10 @@ public:
virtual ~logger() = default; virtual ~logger() = default;
logger(const logger &other) ; logger(const logger &other) ;
logger(logger &&other); logger(logger &&other) SPDLOG_NOEXCEPT;
logger &operator=(logger other); logger &operator=(logger other) SPDLOG_NOEXCEPT;
void swap(spdlog::logger &other); void swap(spdlog::logger &other) SPDLOG_NOEXCEPT;
template<typename... Args> template<typename... Args>
void force_log(source_loc loc, level::level_enum lvl, string_view_t fmt, const Args &... args) void force_log(source_loc loc, level::level_enum lvl, string_view_t fmt, const Args &... args)