Skip to content

Commit

Permalink
const
Browse files Browse the repository at this point in the history
  • Loading branch information
rraustad committed Aug 31, 2024
1 parent dcf5109 commit 31d58de
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/EnergyPlus/WindowManagerExteriorOptical.cc
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ namespace Window {
{
int blindDataPtr = m_MaterialProperties.BlindDataPtr;
assert(blindDataPtr > 0);
auto &blind = state.dataMaterial->Blind(blindDataPtr);
auto const &blind = state.dataMaterial->Blind(blindDataPtr);

CWavelengthRange aRange(WavelengthRange::Visible);
Real64 lowLambda = aRange.minLambda();
Expand All @@ -406,7 +406,7 @@ namespace Window {
{
int blindDataPtr = m_MaterialProperties.BlindDataPtr;
assert(blindDataPtr > 0);
auto &blind = state.dataMaterial->Blind(blindDataPtr);
auto const &blind = state.dataMaterial->Blind(blindDataPtr);

CWavelengthRange aRange(WavelengthRange::Solar);
Real64 lowLambda = aRange.minLambda();
Expand Down Expand Up @@ -525,7 +525,7 @@ namespace Window {
{
const int blindDataPtr = m_Material.BlindDataPtr;
assert(blindDataPtr > 0);
auto &blind = state.dataMaterial->Blind(blindDataPtr);
auto const &blind = state.dataMaterial->Blind(blindDataPtr);

Real64 slatWidth = blind.SlatWidth;
Real64 slatSpacing = blind.SlatSeparation;
Expand Down

4 comments on commit 31d58de

@nrel-bot-2c
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CppCheck-ZoneContaminantPredictorCorrector (rraustad) - x86_64-Linux-Ubuntu-22.04-gcc-11.4: OK (3706 of 3706 tests passed, 0 test warnings)

Build Badge Test Badge

@nrel-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CppCheck-ZoneContaminantPredictorCorrector (rraustad) - Win64-Windows-10-VisualStudio-16: OK (2871 of 2871 tests passed, 0 test warnings)

Build Badge Test Badge

@nrel-bot-2
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CppCheck-ZoneContaminantPredictorCorrector (rraustad) - x86_64-Linux-Ubuntu-22.04-gcc-11.4-UnitTestsCoverage-Debug: OK (2077 of 2077 tests passed, 0 test warnings)

Build Badge Test Badge Coverage Badge

@nrel-bot-2b
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CppCheck-ZoneContaminantPredictorCorrector (rraustad) - x86_64-Linux-Ubuntu-22.04-gcc-11.4-IntegrationCoverage-Debug: OK (797 of 797 tests passed, 0 test warnings)

Build Badge Test Badge Coverage Badge

Please sign in to comment.