From 6418de33cfffa1a12e7a827b68d872287d0cb1b8 Mon Sep 17 00:00:00 2001
From: Joseph Mirabel <jmirabel@laas.fr>
Date: Tue, 29 Jul 2014 10:28:10 +0200
Subject: [PATCH] Graph contains constraint applying everywhere

---
 include/hpp/manipulation/graph/graph.hh | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/include/hpp/manipulation/graph/graph.hh b/include/hpp/manipulation/graph/graph.hh
index 80dede06..c934afde 100644
--- a/include/hpp/manipulation/graph/graph.hh
+++ b/include/hpp/manipulation/graph/graph.hh
@@ -185,18 +185,6 @@ namespace hpp {
           /// Print the object in a stream.
           std::ostream& print (std::ostream& os) const;
 
-          /// Add a core::DifferentiableFunction function.
-          virtual void addNumericalConstraint (const core::DifferentiableFunctionPtr_t& /* function */)
-          {
-            HPP_THROW_EXCEPTION (Bad_function_call, "This component does not have constraints.");
-          }
-
-          /// Add a core::LockedDof constraint.
-          virtual void addLockedDofConstraint (const core::LockedDof& /* constraint */)
-          {
-            HPP_THROW_EXCEPTION (Bad_function_call, "This component does not have constraints.");
-          }
-
           /// Set maximal number of iterations
           void maxIterations (size_type iterations)
           {
-- 
GitLab