Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Obsolete declaration.
[simgrid.git] / src / surf / surf_c_bindings.cpp
index f111cc2..10d2874 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013-2019. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2013-2020. 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. */
@@ -82,7 +82,7 @@ double surf_solve(double max_date)
 
   XBT_DEBUG("Looking for next trace event");
 
-  while (1) { // Handle next occurring events until none remains
+  while (true) { // Handle next occurring events until none remains
     double next_event_date = simgrid::kernel::profile::future_evt_set.next_date();
     XBT_DEBUG("Next TRACE event: %f", next_event_date);
 
@@ -146,7 +146,5 @@ double surf_solve(double max_date)
 
   simgrid::s4u::Engine::on_time_advance(time_delta);
 
-  TRACE_paje_dump_buffer(false);
-
   return time_delta;
 }