mirror of
https://github.com/moveit/moveit_task_constructor.git
synced 2025-11-04 14:49:57 +08:00
avoid ambiguity of setCostTerm(nullptr)
This commit is contained in:
parent
d68ab383b6
commit
a0975e3afc
@ -220,6 +220,8 @@ public:
|
||||
*/
|
||||
void setCostTerm(const CostTerm& term);
|
||||
void setCostTerm(const CostTermShort& term);
|
||||
// avoid overloading ambiguity for resetting the cost term
|
||||
void setCostTerm(const std::nullptr_t) { setCostTerm(static_cast<CostTerm>(nullptr)); }
|
||||
|
||||
const ordered<SolutionBaseConstPtr>& solutions() const;
|
||||
const std::list<SolutionBaseConstPtr>& failures() const;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user