A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Comply with clang-format rules
[simgrid.git]
/
src
/
kernel
/
resource
/
profile
/
FutureEvtSet.cpp
diff --git
a/src/kernel/resource/profile/FutureEvtSet.cpp
b/src/kernel/resource/profile/FutureEvtSet.cpp
index
59b0bdc
..
3579fe8
100644
(file)
--- a/
src/kernel/resource/profile/FutureEvtSet.cpp
+++ b/
src/kernel/resource/profile/FutureEvtSet.cpp
@@
-8,7
+8,7
@@
namespace simgrid {
namespace kernel {
namespace profile {
namespace simgrid {
namespace kernel {
namespace profile {
-
+
FutureEvtSet::FutureEvtSet() = default;
FutureEvtSet::~FutureEvtSet()
{
FutureEvtSet::FutureEvtSet() = default;
FutureEvtSet::~FutureEvtSet()
{
@@
-37,12
+37,12
@@
Event* FutureEvtSet::pop_leq(double date, double* value, resource::Resource** re
if (event_date > date || heap_.empty())
return nullptr;
if (event_date > date || heap_.empty())
return nullptr;
- Event* event = heap_.top().second;
- Profile* profile = event->profile;
+ Event* event
= heap_.top().second;
+ Profile* profile
= event->profile;
DatedValue dateVal = profile->next(event);
*resource = event->resource;
DatedValue dateVal = profile->next(event);
*resource = event->resource;
- *value = dateVal.value_;
+ *value
= dateVal.value_;
heap_.pop();
heap_.pop();