Skip to content

Commit 1f51124

Browse files
committed
add missing virtual destructor to CostTerm
Correctly pointed out by the clang-tidy CI.
1 parent 9d53987 commit 1f51124

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/include/moveit/task_constructor/cost_terms.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ class CostTerm
5656
public:
5757
CostTerm() = default;
5858
CostTerm(std::nullptr_t) : CostTerm{} {}
59+
virtual ~CostTerm() = default;
5960

6061
virtual double operator()(const SubTrajectory& s, std::string& comment) const;
6162
virtual double operator()(const SolutionSequence& s, std::string& comment) const;

0 commit comments

Comments
 (0)