Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix action remains bug
authorPaul Bédaride <paul.bedaride@gmail.com>
Tue, 22 Oct 2013 14:28:42 +0000 (16:28 +0200)
committerPaul Bédaride <paul.bedaride@gmail.com>
Tue, 22 Oct 2013 14:28:42 +0000 (16:28 +0200)
src/surf/surf_interface.cpp

index 81163e8..44867ae 100644 (file)
@@ -339,7 +339,7 @@ double surf_action_get_finish_time(surf_action_t action){
 }
 
 double surf_action_get_remains(surf_action_t action){
-  return action->m_remains;
+  return action->getRemains();
 }
 
 void surf_action_unref(surf_action_t action){