Merge pull request #360 from joakim-hove/deckitem-size-rename

Rename DeckItem::size -> DeckItem::data_size
This commit is contained in:
Joakim Hove 2019-11-19 20:39:54 +01:00 committed by GitHub
commit 343f2faa52

View File

@ -121,7 +121,7 @@ public:
return; return;
const auto& satoptsItem = deck.getKeyword("SATOPTS").getRecord(0).getItem(0); const auto& satoptsItem = deck.getKeyword("SATOPTS").getRecord(0).getItem(0);
for (unsigned i = 0; i < satoptsItem.size(); ++i) { for (unsigned i = 0; i < satoptsItem.data_size(); ++i) {
std::string satoptsValue = satoptsItem.get< std::string >(0); std::string satoptsValue = satoptsItem.get< std::string >(0);
std::transform(satoptsValue.begin(), std::transform(satoptsValue.begin(),
satoptsValue.end(), satoptsValue.end(),