Skip to content

Commit a3d549c

Browse files
author
Julien Fausty
committed
GCC13: fixes for warnings and errors
1 parent 69912ff commit a3d549c

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

src/coreComponents/mesh/generators/VTKFaceBlockUtilities.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ ArrayOfArrays< localIndex > computeElem2dToNodes( vtkIdType num2dElements,
583583
std::set< localIndex > tmp;
584584
for( auto j = 0; j < faceToNodes[faceIndex].size(); ++j )
585585
{
586-
localIndex const & nodeIndex = faceToNodes[faceIndex][j];
586+
localIndex const nodeIndex = faceToNodes[faceIndex][j];
587587
tmp.insert( nodeIndex );
588588
}
589589
for( localIndex const & nodeIndex: tmp )

src/coreComponents/unitTests/constitutiveTests/testMultiFluid.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -173,11 +173,11 @@ void testNumericalDerivatives( MultiFluidBase & fluid,
173173
GET_FLUID_DATA( fluid, fields::multifluid::dTotalDensity )
174174
};
175175

176-
auto const & phaseFracCopy = GET_FLUID_DATA( fluidCopy, fields::multifluid::phaseFraction );
177-
auto const & phaseDensCopy = GET_FLUID_DATA( fluidCopy, fields::multifluid::phaseDensity );
178-
auto const & phaseViscCopy = GET_FLUID_DATA( fluidCopy, fields::multifluid::phaseViscosity );
179-
auto const & phaseCompFracCopy = GET_FLUID_DATA( fluidCopy, fields::multifluid::phaseCompFraction );
180-
auto const & totalDensCopy = GET_FLUID_DATA( fluidCopy, fields::multifluid::totalDensity );
176+
auto const phaseFracCopy = GET_FLUID_DATA( fluidCopy, fields::multifluid::phaseFraction );
177+
auto const phaseDensCopy = GET_FLUID_DATA( fluidCopy, fields::multifluid::phaseDensity );
178+
auto const phaseViscCopy = GET_FLUID_DATA( fluidCopy, fields::multifluid::phaseViscosity );
179+
auto const phaseCompFracCopy = GET_FLUID_DATA( fluidCopy, fields::multifluid::phaseCompFraction );
180+
auto const totalDensCopy = GET_FLUID_DATA( fluidCopy, fields::multifluid::totalDensity );
181181

182182
#undef GET_FLUID_DATA
183183

0 commit comments

Comments
 (0)