Skip to content
Snippets Groups Projects
Commit 68b64e7d authored by Fabian Tërnava's avatar Fabian Tërnava
Browse files

remove legacy addSkill methods as they were not working

parent 2fec47b5
No related branches found
No related tags found
1 merge request!388Refactor skills framework
Pipeline #15666 passed
......@@ -165,25 +165,6 @@ namespace armarx
getSkillProviderPlugin() const;
protected:
// -----------------------------------------------------------------------------------------
// LEGACY, TODO: NEEDS TESTING
// -----------------------------------------------------------------------------------------
template <class SkillT>
requires skills::isSkill<SkillT> skills::SkillBlueprint*
addSkill(std::unique_ptr<SkillT>&& s)
{
return addSkillFactory<SkillT>();
}
template <class SkillT, typename... Args>
requires skills::isSkill<SkillT> skills::SkillBlueprint*
addSkill(Args&&... args)
{
return addSkillFactory<SkillT>(std::forward<Args>(args)...);
}
// -----------------------------------------------------------------------------------------
// New
// -----------------------------------------------------------------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment