diff --git a/Sofa/framework/Core/src/sofa/core/objectmodel/BaseContext.h b/Sofa/framework/Core/src/sofa/core/objectmodel/BaseContext.h index a4788ee7151..987d1ff175d 100644 --- a/Sofa/framework/Core/src/sofa/core/objectmodel/BaseContext.h +++ b/Sofa/framework/Core/src/sofa/core/objectmodel/BaseContext.h @@ -388,9 +388,9 @@ class SOFA_CORE_API BaseContext : public virtual Base /// Propagate an event virtual void propagateEvent( const core::ExecParams* params, Event* ); - virtual void accept(const TopDownVisitor& visitor) {} - virtual void accept(const BottomUpVisitor& visitor) {} - virtual void accept(const TopDownVisitor& topDownVisitor, const BottomUpVisitor& bottomUpVisitor) {} + virtual void accept(const TopDownVisitor&) {} + virtual void accept(const BottomUpVisitor&) {} + virtual void accept(const TopDownVisitor&, const BottomUpVisitor&) {} /// @}