From 033402c359258599e0cf9a0372ea71a50155acbd Mon Sep 17 00:00:00 2001 From: Luc Rancourt Date: Wed, 25 Oct 2023 08:48:25 +0200 Subject: [PATCH] Channel operation needs virtual destructor. This came out of the maria DB nightlies returning the following error: /usr/local/include/tiledb/channel_operation.h:71:3: error: 'tiledb::ChannelOperation' has virtual functions but non-virtual destructor [-Werror,-Wnon-virtual-dtor] The fix is trivial. --- TYPE: NO_HISTORY DESC: Channel operation needs virtual destructor. --- tiledb/sm/cpp_api/channel_operation.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tiledb/sm/cpp_api/channel_operation.h b/tiledb/sm/cpp_api/channel_operation.h index 31333d92a18..8223e973353 100644 --- a/tiledb/sm/cpp_api/channel_operation.h +++ b/tiledb/sm/cpp_api/channel_operation.h @@ -68,7 +68,7 @@ class ChannelOperation { ChannelOperation& operator=(ChannelOperation&&) = default; /** Destructor. */ - ~ChannelOperation() = default; + virtual ~ChannelOperation() = default; /* ********************************* */ /* API */