Skip to content

Commit

Permalink
Fix missing virtual destructor
Browse files Browse the repository at this point in the history
  • Loading branch information
orontee committed Sep 16, 2023
1 parent 3038035 commit d06a108
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/activatable.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ namespace taranis {
struct Activatable {
Activatable() : activated{false} {}

virtual ~Activatable() {}

bool is_activated() const { return this->activated; }

void activate() {
Expand Down

0 comments on commit d06a108

Please sign in to comment.