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() {} }; /**