From e2fde3f60995a82e4b42fb0cf01b0f8e3cf87b4a Mon Sep 17 00:00:00 2001 From: Florent Lamiraux <florent@laas.fr> Date: Sat, 28 Mar 2020 16:11:51 +0100 Subject: [PATCH] [Edge] Remove deprecated methods to and from. --- include/hpp/manipulation/graph/edge.hh | 12 ------------ src/graph/edge.cc | 10 ---------- 2 files changed, 22 deletions(-) diff --git a/include/hpp/manipulation/graph/edge.hh b/include/hpp/manipulation/graph/edge.hh index ac42495..a29f0d4 100644 --- a/include/hpp/manipulation/graph/edge.hh +++ b/include/hpp/manipulation/graph/edge.hh @@ -95,18 +95,6 @@ namespace hpp { virtual bool build (core::PathPtr_t& path, ConfigurationIn_t q1, ConfigurationIn_t q2) const; - /// Get the destination - /// \deprecated from and to method are renamed stateFrom and stateTo. - /// method from cannot be binded in python since "from" - /// is a keyword in python. - StatePtr_t to () const HPP_MANIPULATION_DEPRECATED; - - /// Get the origin - /// \deprecated from and to method are renamed stateFrom and stateTo. - /// method from cannot be binded in python since "from" - /// is a keyword in python. - StatePtr_t from () const HPP_MANIPULATION_DEPRECATED; - /// Get the destination StatePtr_t stateTo () const; diff --git a/src/graph/edge.cc b/src/graph/edge.cc index f08aa4b..8d79daf 100644 --- a/src/graph/edge.cc +++ b/src/graph/edge.cc @@ -50,16 +50,6 @@ namespace hpp { Edge::~Edge () {} - StatePtr_t Edge::to () const - { - return to_.lock(); - } - - StatePtr_t Edge::from () const - { - return from_.lock(); - } - StatePtr_t Edge::stateTo () const { return to_.lock(); -- GitLab