mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-16 00:45:48 +08:00
Add noexcept to move ctor and operator=
This commit is contained in:
parent
639029007d
commit
6506b73523
@ -63,11 +63,11 @@ 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)
|
||||||
|
Loading…
Reference in New Issue
Block a user