diff --git a/src/path-planner/states-path-finder.cc b/src/path-planner/states-path-finder.cc
index 9a90d241bedc2a2ef7c8d5c3302c37e8147cf8f0..3a8bf976030d24d62619e0a73ac8a67b0706bfad 100644
--- a/src/path-planner/states-path-finder.cc
+++ b/src/path-planner/states-path-finder.cc
@@ -104,7 +104,8 @@ namespace hpp {
         goalDefinedByConstraints_(false),
         q1_(0x0), q2_(0x0), configList_(), idxConfigList_(0),
         nTryConfigList_(0), solved_(false), interrupt_(false),
-        weak_(), stricterConstraints_()
+        stricterConstraints_(),
+        weak_()
       {
         gatherGraphConstraints ();
         inStateProblem_ = core::Problem::create(problem_->robot());