]> AND Public Git Repository - simgrid.git/blobdiff - src/mc/udpor_global.cpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'add_missing_comm_python_bindings' into 'master'
[simgrid.git] / src / mc / udpor_global.cpp
index bd38ee7b74e9225abd9fbc3bafdedc1c18bbba9c..8241c229a52e65e67bf22261d71c2e30e146e7b6 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2008-2021. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2008-2022. 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. */
@@ -22,7 +22,7 @@ EventSet EvtSetTools::makeUnion(const EventSet& s1, const EventSet& s2)
 
 void EvtSetTools::pushBack(EventSet& events, UnfoldingEvent* e)
 {
-  if (!EvtSetTools::contains(events, e))
+  if (not EvtSetTools::contains(events, e))
     events.push_back(e);
 }