Skip to content

Commit ec6c1a5

Browse files
committed
const
1 parent b3bb697 commit ec6c1a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/EnergyPlus/PlantValves.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -328,10 +328,10 @@ namespace PlantValves {
328328
if (thisLoopSide.Mixer.Exists) {
329329
if (any_eq(thisLoopSide.Mixer.NodeNumIn, this->PltStream2NodeNum)) {
330330
int thisInnerBranchCtr = 0;
331-
for (auto &thisInnerBranch : thisLoopSide.Branch) {
331+
for (auto const &thisInnerBranch : thisLoopSide.Branch) {
332332
thisInnerBranchCtr++;
333333
if (branchCtr == thisInnerBranchCtr) continue; // already looped into this one
334-
for (auto &thisInnerComp : thisInnerBranch.Comp) {
334+
for (auto const &thisInnerComp : thisInnerBranch.Comp) {
335335
if (thisInnerComp.NodeNumOut == this->PltStream2NodeNum) {
336336
Stream2NodeOkay = true;
337337
}

0 commit comments

Comments
 (0)