Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix another Asan false alarm (with clang 12).
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Tue, 4 May 2021 14:39:46 +0000 (16:39 +0200)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Tue, 4 May 2021 14:46:45 +0000 (16:46 +0200)
teshsuite/s4u/activity-lifecycle/activity-lifecycle.cpp

index 93dbbf2..ec5f37d 100644 (file)
@@ -21,7 +21,7 @@ void assert_exit(bool exp_success, double duration)
     XBT_VERB("Running checks on exit");
     INFO("Check exit status. Expected: " << exp_success);
     REQUIRE(exp_success == not got_failed);
-    INFO("Check date at exit. Expected: " << expected_time);
+    INFO("Check date at exit. Expected: " + std::to_string(expected_time));
     REQUIRE(simgrid::s4u::Engine::get_clock() == Approx(expected_time));
     XBT_VERB("Checks on exit successful");
   });