Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Throw exception by value.
[simgrid.git] / 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()) {