diff --git a/include/hpp/manipulation/problem-solver.hh b/include/hpp/manipulation/problem-solver.hh
index a19a9feddf1e8f8a4620ca7771e711f3a29a385d..8fc7f2ff8cb6efd9c9c8280d7489f714ebb03b2a 100644
--- a/include/hpp/manipulation/problem-solver.hh
+++ b/include/hpp/manipulation/problem-solver.hh
@@ -50,7 +50,7 @@ namespace hpp {
 
         /// Set robot
         /// Check that robot is of type hpp::manipulation::Device
-        virtual void robot (const DevicePtr_t& robot)
+        virtual void robot (const core::DevicePtr_t& robot)
         {
           robot_ = HPP_DYNAMIC_PTR_CAST (Device, robot);
           assert (robot_);