diff --git a/include/fmt/core.h b/include/fmt/core.h index 2e1ae4b6..657ab4f9 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -670,7 +670,7 @@ template class buffer { size_(sz), capacity_(cap) {} - ~buffer() = default; + virtual ~buffer() = default; /** Sets the buffer data and capacity. */ void set(T* buf_data, size_t buf_capacity) FMT_NOEXCEPT {