diff --git a/dart/common/detail/Composite.hpp b/dart/common/detail/Composite.hpp index b96ef66ec1163..045168e5f8166 100644 --- a/dart/common/detail/Composite.hpp +++ b/dart/common/detail/Composite.hpp @@ -207,7 +207,7 @@ void createAspects(T* comp) return this->template createAspect(std::forward(args)...);\ }\ \ - inline void erase ## AspectName ()\ + inline void remove ## AspectName ()\ {\ this->template removeAspect();\ }\