Skip to content

Commit

Permalink
Shadowing introduced by mistake in #3973
Browse files Browse the repository at this point in the history
  • Loading branch information
jmarrec committed Aug 24, 2023
1 parent a04ae99 commit 1a2df18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/model/ScheduleRuleset.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ namespace model {

boost::optional<ScheduleDay> existingWinterDDSchedule;
if (!this->isWinterDesignDayScheduleDefaulted()) {
ScheduleDay existingWinterDDSchedule = this->winterDesignDaySchedule();
existingWinterDDSchedule = this->winterDesignDaySchedule();
}
ModelObject clone = schedule.clone();
bool result = setPointer(OS_Schedule_RulesetFields::WinterDesignDayScheduleName, clone.handle());
Expand Down

0 comments on commit 1a2df18

Please sign in to comment.