Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Throw exception by value.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Fri, 15 Sep 2017 20:27:31 +0000 (22:27 +0200)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Fri, 15 Sep 2017 20:51:10 +0000 (22:51 +0200)
src/mc/checker/CommunicationDeterminismChecker.cpp

index 6e9bd09..1b405a1 100644 (file)
@@ -522,7 +522,7 @@ void CommunicationDeterminismChecker::main()
       /* Check for deadlocks */
       if (mc_model_checker->checkDeadlock()) {
         MC_show_deadlock();
-        throw new simgrid::mc::DeadlockError();
+        throw simgrid::mc::DeadlockError();
       }
 
       while (not stack_.empty()) {