Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
rename some fields (change toto to toto_)
[simgrid.git] / src / kernel / activity / SynchroRaw.cpp
index b9e089e..69830b0 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2007-2017. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2007-2018. The SimGrid Team. All rights reserved.          */
 
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
@@ -28,9 +28,9 @@ void simgrid::kernel::activity::RawImpl::post()
 {
   XBT_IN("(%p)",this);
   if (sleep->get_state() == simgrid::kernel::resource::Action::State::failed)
-    state = SIMIX_FAILED;
+    state_ = SIMIX_FAILED;
   else if (sleep->get_state() == simgrid::kernel::resource::Action::State::done)
-    state = SIMIX_SRC_TIMEOUT;
+    state_ = SIMIX_SRC_TIMEOUT;
 
   SIMIX_synchro_finish(this);
   XBT_OUT();