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

Public GIT Repository
GraphNodeData::graph_id_ is an unsigned long.
[simgrid.git] / src / mc / udpor_global.hpp
index 97bbfc641f2407aaac5314c6be06dc6763c9744b..89d4c8f9a38e5e872170bb0ae6f14ceb8789e510 100644 (file)
@@ -18,9 +18,9 @@ using EventSet = std::deque<UnfoldingEvent*>;
 class EvtSetTools {
 public:
   static bool contains(const EventSet& events, const UnfoldingEvent* e);
-  static UnfoldingEvent* find(const EventSet events, const UnfoldingEvent* e);
+  static UnfoldingEvent* find(const EventSet& events, const UnfoldingEvent* e);
   static void subtract(EventSet& events, EventSet const& otherSet);
-  static bool depends(EventSet const& events, EventSet const& otherSet);
+  static bool depends(const EventSet& events, const EventSet& otherSet);
   static bool isEmptyIntersection(EventSet evtS1, EventSet evtS2);
   static EventSet makeUnion(const EventSet& s1, const EventSet& s2);
   static void pushBack(EventSet& events, UnfoldingEvent* e);