Skip to content

Commit

Permalink
[BUG] Fix issue with compilation on g++-11
Browse files Browse the repository at this point in the history
  • Loading branch information
sukritkalra committed Apr 4, 2024
1 parent d68a44c commit 5aebad9
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions schedulers/tetrisched/src/Expression.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,7 @@ ExpressionTimeBounds Expression::getTimeBounds() const {
children[0]->getTimeBounds().startTimeRange,
children[1]->getTimeBounds().endTimeRange,
children[0]->getTimeBounds().duration +
children[1]->getTimeBounds().duration,
);
children[1]->getTimeBounds().duration);
} else {
// For multiple children, we merge their time bounds, and find the
// minimum duration.
Expand Down Expand Up @@ -270,8 +269,7 @@ ExpressionTimeBounds Expression::getTimeBounds() const {
return ExpressionTimeBounds(
startTimeRange,
endTimeRange,
minDuration,
);
minDuration);
}
}
}
Expand Down

0 comments on commit 5aebad9

Please sign in to comment.