Skip to content

Commit

Permalink
Add missing resource factory virtual destructor (rapidsai#1433)
Browse files Browse the repository at this point in the history
Closes rapidsai#1425

Authors:
  - Corey J. Nolet (https://github.com/cjnolet)

Approvers:
  - Ben Frederickson (https://github.com/benfred)

URL: rapidsai#1433
  • Loading branch information
cjnolet authored and ahendriksen committed Apr 27, 2023
1 parent 867dffc commit c938d7c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cpp/include/raft/core/resource/resource_types.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ class resource_factory {
* @return resource instance
*/
virtual resource* make_resource() = 0;

virtual ~resource_factory() {}
};

/**
Expand Down

0 comments on commit c938d7c

Please sign in to comment.