Skip to content

Commit

Permalink
Fixed warning about missing virtual destructor in tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
FranckRJ committed Apr 27, 2024
1 parent f928961 commit 833de50
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/referece_types_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ struct ReferenceTypesTests: tpunit::TestFixture {

class AbstractType {
public:
virtual ~AbstractType() = default;

virtual const std::string& getContent() = 0;

// Return true if object was sliced, false otherwise.
Expand Down

0 comments on commit 833de50

Please sign in to comment.