build(GridFire): building on gcc and clang

resolved some issues preventing GridFire from building on both gcc and clang. Also resolved all warnings on both compilers.
This commit is contained in:
2025-07-24 10:20:44 -04:00
parent c3bc75a7f4
commit cc3708fda5
11 changed files with 32 additions and 22 deletions

View File

@@ -860,7 +860,7 @@ namespace gridfire {
// Dynamic cast to REACLIBReaction to access specific properties
csvFile << reaction.id() << ";";
// Reactants
int count = 0;
size_t count = 0;
for (const auto& reactant : reaction.reactants()) {
csvFile << reactant.name();
if (++count < reaction.reactants().size()) {