From dad937aa59b2558503a3a04760ade3c4f961981f Mon Sep 17 00:00:00 2001 From: rraustad Date: Wed, 25 Dec 2024 23:01:20 -0500 Subject: [PATCH] revert a few consts --- src/EnergyPlus/PlantPipingSystemsManager.cc | 6 +++--- src/EnergyPlus/ReportCoilSelection.cc | 2 +- src/EnergyPlus/ReportCoilSelection.hh | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/EnergyPlus/PlantPipingSystemsManager.cc b/src/EnergyPlus/PlantPipingSystemsManager.cc index 44f99d9d22e..dc74faf5e9e 100644 --- a/src/EnergyPlus/PlantPipingSystemsManager.cc +++ b/src/EnergyPlus/PlantPipingSystemsManager.cc @@ -431,14 +431,14 @@ namespace PlantPipingSystemsManager { auto const &thisDomain = state.dataPlantPipingSysMgr->domains[DomainNum]; // validate pipe domain-circuit name-to-index references - for (auto const &thisCircuit : thisDomain.circuits) { + for (auto &thisCircuit : thisDomain.circuits) { thisCircuit->ParentDomainIndex = DomainNum; } // correct segment locations for: INTERNAL DATA STRUCTURE Y VALUE MEASURED FROM BOTTOM OF DOMAIN, // INPUT WAS MEASURED FROM GROUND SURFACE for (auto const &thisCircuit : thisDomain.circuits) { - for (auto const &thisSegment : thisCircuit->pipeSegments) { + for (auto &thisSegment : thisCircuit->pipeSegments) { thisSegment->PipeLocation.Y = thisDomain.Extents.yMax - thisSegment->PipeLocation.Y; } } @@ -446,7 +446,7 @@ namespace PlantPipingSystemsManager { // correct segment locations for: BASEMENT X SHIFT if (thisDomain.HasBasement && thisDomain.BasementZone.ShiftPipesByWidth) { for (auto const &thisCircuit : thisDomain.circuits) { - for (auto const &thisSegment : thisCircuit->pipeSegments) { + for (auto &thisSegment : thisCircuit->pipeSegments) { thisSegment->PipeLocation.X += thisDomain.BasementZone.Width; } } diff --git a/src/EnergyPlus/ReportCoilSelection.cc b/src/EnergyPlus/ReportCoilSelection.cc index 0b009961d40..78ca52504dd 100644 --- a/src/EnergyPlus/ReportCoilSelection.cc +++ b/src/EnergyPlus/ReportCoilSelection.cc @@ -73,7 +73,7 @@ namespace EnergyPlus { -void createCoilSelectionReportObj(EnergyPlusData const &state) +void createCoilSelectionReportObj(EnergyPlusData &state) { state.dataRptCoilSelection->coilSelectionReportObj = std::make_unique(); } diff --git a/src/EnergyPlus/ReportCoilSelection.hh b/src/EnergyPlus/ReportCoilSelection.hh index a5d5ba70e77..5c15590f019 100644 --- a/src/EnergyPlus/ReportCoilSelection.hh +++ b/src/EnergyPlus/ReportCoilSelection.hh @@ -449,7 +449,7 @@ public: // data }; // end ReportCoilSelection class -void createCoilSelectionReportObj(EnergyPlusData const &state); +void createCoilSelectionReportObj(EnergyPlusData &state); struct ReportCoilSelectionData : BaseGlobalStruct {