析构函数前加virtual,防止内存泄露

Signed-off-by: guochao <guochao76@huawei.com>
This commit is contained in:
guochao 2024-11-21 09:52:22 +08:00
parent 2ec785c0d8
commit 93e5808552

View File

@ -38,7 +38,7 @@ public:
/**
* @brief Destructor.
*/
~SharedResultSet() {}
virtual ~SharedResultSet() {}
/**
* @brief Obtains a block from the {@link SharedResultSet}.