buffer should declare virtual dtor

This commit is contained in:
Sven Fink 2020-10-14 14:19:59 +02:00
parent 82c4e2236a
commit 846759e176

View File

@ -670,7 +670,7 @@ template <typename T> 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 {