Skip to content

Commit

Permalink
- Fix CI errors
Browse files Browse the repository at this point in the history
  • Loading branch information
hanatyan128 committed Nov 22, 2024
1 parent b09e764 commit 12f3add
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/sources/ingress-link-source.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -602,17 +602,17 @@ void IngressLinkSource::onStagesReady(const StageArray &stages)
}

// No connection but stage/seat/source selected situation
auto stage = stages.find([this, stageId, seatName, sourceName](const Stage &stage) {
if (stage.getId() != stageId) {
auto stage = stages.find([this, stageId, seatName, sourceName](const Stage &_stage) {
if (_stage.getId() != stageId) {
return false;
}
auto seat =
stage.getSeats().find([this, seatName](const StageSeat &seat) { return seat.getName() == seatName; });
_stage.getSeats().find([this, seatName](const StageSeat &_seat) { return _seat.getName() == seatName; });
if (seat.isEmpty()) {
return false;
}
auto source = stage.getSources().find([this, sourceName](const StageSource &source) {
return source.getName() == sourceName;
auto source = _stage.getSources().find([this, sourceName](const StageSource &_source) {
return _source.getName() == sourceName;
});
return !source.isEmpty();
});
Expand Down

0 comments on commit 12f3add

Please sign in to comment.