From cd06f218fc01d30e04eb9fa816fad4169277e552 Mon Sep 17 00:00:00 2001
From: Joseph Mirabel <jmirabel@laas.fr>
Date: Thu, 25 Aug 2016 18:14:01 +0200
Subject: [PATCH] Update GraphOptimizer

---
 include/hpp/manipulation/graph-optimizer.hh | 8 ++------
 src/graph-optimizer.cc                      | 5 +++++
 2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/include/hpp/manipulation/graph-optimizer.hh b/include/hpp/manipulation/graph-optimizer.hh
index 752fbf0..28dbc7c 100644
--- a/include/hpp/manipulation/graph-optimizer.hh
+++ b/include/hpp/manipulation/graph-optimizer.hh
@@ -18,16 +18,12 @@
 #ifndef HPP_MANIPULATION_GRAPHOPTIMIZER_HH
 # define HPP_MANIPULATION_GRAPHOPTIMIZER_HH
 
-# include <hpp/core/path.hh>
-# include <hpp/core/path-vector.hh>
 # include <hpp/core/path-optimizer.hh>
-# include <hpp/core/problem.hh>
-# include <hpp/core/problem-solver.hh>
+# include <hpp/core/problem-solver.hh> // PathOptimizerBuilder_t
 
 # include <hpp/manipulation/fwd.hh>
-# include <hpp/manipulation/graph/fwd.hh>
 # include <hpp/manipulation/config.hh>
-# include <hpp/manipulation/constraint-set.hh>
+# include <hpp/manipulation/graph/fwd.hh>
 
 namespace hpp {
   namespace manipulation {
diff --git a/src/graph-optimizer.cc b/src/graph-optimizer.cc
index 92af5fe..6d44523 100644
--- a/src/graph-optimizer.cc
+++ b/src/graph-optimizer.cc
@@ -16,6 +16,11 @@
 
 #include <hpp/manipulation/graph-optimizer.hh>
 
+#include <hpp/core/path.hh>
+#include <hpp/core/path-vector.hh>
+#include <hpp/core/problem.hh>
+
+#include <hpp/manipulation/constraint-set.hh>
 #include <hpp/manipulation/graph/edge.hh>
 #include <hpp/manipulation/graph-path-validation.hh>
 
-- 
GitLab