Skip to content
Snippets Groups Projects
Commit fe4a12c5 authored by Wolfgang Merkt's avatar Wolfgang Merkt Committed by Andrea Del Prete
Browse files

TaskContactForce: Ignore overloaded-virtual warning

parent b3ec3dc8
No related branches found
No related tags found
No related merge requests found
......@@ -18,6 +18,7 @@
#ifndef __invdyn_task_contact_force_hpp__
#define __invdyn_task_contact_force_hpp__
#include <tsid/deprecated.hh>
#include <tsid/tasks/task-base.hpp>
#include <tsid/formulations/contact-level.hpp>
#include <memory>
......@@ -42,11 +43,14 @@ namespace tsid
* argument the list of active contacts. This can be needed for force tasks that
* involve all contacts, such as the CoP task.
*/
TSID_DISABLE_WARNING_PUSH
TSID_DISABLE_WARNING(-Woverloaded-virtual)
virtual const ConstraintBase & compute(const double t,
ConstRefVector q,
ConstRefVector v,
Data & data,
const std::vector<std::shared_ptr<ContactLevel> > *contacts) = 0;
TSID_DISABLE_WARNING_POP
/**
* Return the name of the contact associated to this task if this task is associated to a specific contact.
......
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