Commit 688abef4 authored by Florent Lamiraux's avatar Florent Lamiraux
Browse files

[Problem] Use default copy constructor.

parent 4489b432
Pipeline #12826 failed with stage
in 46 seconds
......@@ -301,7 +301,7 @@ namespace hpp {
/// \copydoc Problem::create(DevicePtr_t);
Problem (DevicePtr_t robot);
/// \copydoc Problem::create(DevicePtr_t);
Problem (const Problem& other);
Problem (const Problem& other) = default;
void init (ProblemWkPtr_t wkPtr);
......
......@@ -91,21 +91,6 @@ namespace hpp {
{
}
// ======================================================================
Problem::Problem (const Problem& other) :
robot_ (other.robot_), distance_(other.distance_),
initConf_(other.initConf_), goalConfigurations_
(other.goalConfigurations_), target_(other.target_),
steeringMethod_(other.steeringMethod_),
configValidations_ (other.configValidations()),
pathValidation_(other.pathValidation_),
pathProjector_(other.pathProjector_),
collisionObstacles_(other.collisionObstacles_),
constraints_(other.constraints_),
configurationShooter_(other.configurationShooter_)
{
}
// ======================================================================
void Problem::init (ProblemWkPtr_t wkPtr)
......
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