Skip to content

Commit

Permalink
Fix deletion warnings about abstract classes without non-virtual dest…
Browse files Browse the repository at this point in the history
…ructors
  • Loading branch information
codereader committed Oct 26, 2020
1 parent 7442419 commit 0394d41
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions include/iselectionset.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ class ISelectionSetManager
class Visitor
{
public:
virtual ~Visitor() {}
virtual void visit(const ISelectionSetPtr& set) = 0;
};

Expand Down
2 changes: 2 additions & 0 deletions plugins/script/interfaces/EntityInterface.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ namespace script
class EntityVisitor
{
public:
virtual ~EntityVisitor() {}

virtual void visit(const std::string& key, const std::string& value) = 0;
};

Expand Down

0 comments on commit 0394d41

Please sign in to comment.