Skip to content

Commit

Permalink
Define missing virtual destructors
Browse files Browse the repository at this point in the history
  • Loading branch information
GiulioRomualdi committed Dec 8, 2021
1 parent cc7ac5f commit a2fd93b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ struct ITaskControllerManager
* @return the state of the controller
*/
virtual Mode getTaskControllerMode() const = 0;

/**
* Destructor.
*/
virtual ~ITaskControllerManager() = default;
};

} // namespace System
Expand Down
5 changes: 5 additions & 0 deletions src/System/include/BipedalLocomotion/System/LinearTask.h
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,11 @@ class LinearTask
* @return True if the objects are valid, false otherwise.
*/
virtual bool isValid() const = 0;

/**
* Destructor.
*/
virtual ~LinearTask() = default;
};

} // namespace System
Expand Down

0 comments on commit a2fd93b

Please sign in to comment.