Commit 732c57a2 authored by Florent Lamiraux's avatar Florent Lamiraux Committed by Florent Lamiraux florent@laas.fr
Browse files

Fix compilation warning

  - deprecated method.
parent 34504c52
......@@ -25,7 +25,8 @@ using hpp::wholebodyStep::SmallSteps;
int main (int argc, char* argv[])
{
ProblemSolverPtr_t problemSolver = ProblemSolver::create ();
problemSolver->addPathOptimizerType ("Walkgen", SmallSteps::create);
hpp::core::PathOptimizerBuilder_t optimizer (SmallSteps::create);
problemSolver->add ("Walkgen", optimizer);
CorbaServer corbaServer (problemSolver, argc,
const_cast<const char**> (argv), true);
WholebodyServer wbsServer (argc, const_cast<const char**> (argv), true);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment