-/* Copyright (c) 2004-2020. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2004-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. */
void add_event(double date, Event* evt);
private:
- typedef std::pair<double, Event*> Qelt;
- std::priority_queue<Qelt, std::vector<Qelt>, std::greater<Qelt>> heap_;
+ using Qelt = std::pair<double, Event*>;
+ std::priority_queue<Qelt, std::vector<Qelt>, std::greater<>> heap_;
};
// FIXME: kill that singleton