Skip to content

Commit

Permalink
Fix code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
sommer committed Oct 12, 2019
1 parent de57538 commit 4855180
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/veins/base/toolbox/SignalUtils.cc
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Signal getMaxInterference(simtime_t start, simtime_t end, AirFrame* const refere
std::priority_queue<Signal, std::vector<Signal>, greaterByReceptionEnd<Signal>> signalEndings;
simtime_t currentTime = 0;

interfererFrames.sort([](const AirFrame* x, const AirFrame* y) { return x->getSignal().getReceptionStart() < y->getSignal().getReceptionStart(); });
interfererFrames.sort([](const AirFrame* x, const AirFrame* y) { return x->getSignal().getReceptionStart() < y->getSignal().getReceptionStart(); });

for (auto& interfererFrame : interfererFrames) {
if (interfererFrame->getTreeId() == referenceFrame->getTreeId()) continue; // skip the signal we want to compare to
Expand Down

0 comments on commit 4855180

Please sign in to comment.