From c938d7ced66f9a875bc4e35b69ebb754c9c6d20e Mon Sep 17 00:00:00 2001 From: "Corey J. Nolet" Date: Wed, 19 Apr 2023 18:44:55 -0400 Subject: [PATCH] Add missing resource factory virtual destructor (#1433) Closes #1425 Authors: - Corey J. Nolet (https://github.com/cjnolet) Approvers: - Ben Frederickson (https://github.com/benfred) URL: https://github.com/rapidsai/raft/pull/1433 --- cpp/include/raft/core/resource/resource_types.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cpp/include/raft/core/resource/resource_types.hpp b/cpp/include/raft/core/resource/resource_types.hpp index cf302e25f9..8e331293bf 100644 --- a/cpp/include/raft/core/resource/resource_types.hpp +++ b/cpp/include/raft/core/resource/resource_types.hpp @@ -83,6 +83,8 @@ class resource_factory { * @return resource instance */ virtual resource* make_resource() = 0; + + virtual ~resource_factory() {} }; /**