Verified Commit 617b31fd authored by Justin Carpentier's avatar Justin Carpentier
Browse files

core: fix warning with recent Boost version

parent 4dcea71b
//
// Copyright (c) 2015-2019 CNRS INRIA
// Copyright (c) 2015-2020 CNRS INRIA
// Copyright (c) 2015 Wandercraft, 86 rue de Paris 91400 Orsay, France.
//
......@@ -11,9 +11,6 @@
#include "pinocchio/utils/string-generator.hpp"
#include "pinocchio/multibody/liegroup/liegroup-algo.hpp"
#include <boost/bind.hpp>
#include <boost/utility.hpp>
/// @cond DEV
namespace pinocchio
......
......@@ -7,6 +7,9 @@
#include "pinocchio/multibody/model.hpp"
#include <boost/bind/bind.hpp>
#include <boost/utility.hpp>
/// @cond DEV
namespace pinocchio
......@@ -94,7 +97,7 @@ namespace pinocchio
inline GeomIndex GeometryModel::getGeometryId(const std::string & name) const
{
using namespace boost::placeholders;
GeometryObjectVector::const_iterator it
= std::find_if(geometryObjects.begin(),
geometryObjects.end(),
......@@ -105,6 +108,7 @@ namespace pinocchio
inline bool GeometryModel::existGeometryName(const std::string & name) const
{
using namespace boost::placeholders;
return std::find_if(geometryObjects.begin(),
geometryObjects.end(),
boost::bind(&GeometryObject::name, _1) == name) != geometryObjects.end();
......
......@@ -10,9 +10,6 @@
#include "pinocchio/utils/string-generator.hpp"
#include "pinocchio/multibody/liegroup/liegroup-algo.hpp"
#include <boost/bind.hpp>
#include <boost/utility.hpp>
/// @cond DEV
namespace pinocchio
......
Markdown is supported
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