diff --git a/include/fmt/format.h b/include/fmt/format.h index 332b8271..9c104df1 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -578,7 +578,7 @@ class basic_memory_buffer : private Allocator, public internal::buffer { : Allocator(alloc) { this->set(store_, SIZE); } - ~basic_memory_buffer() { deallocate(); } + ~basic_memory_buffer() FMT_OVERRIDE { deallocate(); } private: // Move data from other to this buffer. @@ -658,7 +658,7 @@ class FMT_API format_error : public std::runtime_error { format_error& operator=(const format_error&) = default; format_error(format_error&&) = default; format_error& operator=(format_error&&) = default; - ~format_error() FMT_NOEXCEPT; + ~format_error() FMT_NOEXCEPT FMT_OVERRIDE; }; namespace internal { @@ -2752,7 +2752,7 @@ class FMT_API system_error : public std::runtime_error { system_error& operator=(const system_error&) = default; system_error(system_error&&) = default; system_error& operator=(system_error&&) = default; - ~system_error() FMT_NOEXCEPT; + ~system_error() FMT_NOEXCEPT FMT_OVERRIDE; int error_code() const { return error_code_; } };