Fixed shadowing variable warning.

This commit is contained in:
Markus Blatt 2023-10-25 15:30:44 +02:00
parent 89f14594e1
commit 574734680f

View File

@ -85,8 +85,8 @@ parseActionX(const DeckKeyword& kw, const Actdims& actdims,
const std::string name = record.getItem("NAME").getTrimmedString(0);
for (size_t record_index = 1; record_index < kw.size(); record_index++) {
const auto& record = kw.getRecord(record_index);
const auto& cond_tokens = RawString::strings( record.getItem("CONDITION").getData<RawString>() );
const auto& cond_tokens = RawString::strings( kw.getRecord(record_index)
.getItem("CONDITION").getData<RawString>() );
for (const auto& token : cond_tokens)
tokens.push_back(dequote(token, kw.location()));