Skip to content

Commit

Permalink
IOSS: Use range for
Browse files Browse the repository at this point in the history
  • Loading branch information
gdsjaar committed Nov 6, 2024
1 parent d16219d commit 211dcea
Showing 1 changed file with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -333,14 +333,12 @@ namespace Ioss {
return nullptr;

const Ioss::PropertyManager &current_properties = current_db->get_property_manager();
Ioss::NameList names;
current_properties.describe(&names);
Ioss::NameList names = current_properties.describe();

// Iterate through properties and transfer to new output database...
Ioss::NameList::const_iterator I;
for (I = names.begin(); I != names.end(); ++I) {
if (!current_properties.exists(*I))
m_properties.add(current_properties.get(*I));
for (const auto &name : names) {
if (!m_properties.exists(name))
m_properties.add(current_properties.get(name));
}

auto db_usage = current_db->usage();
Expand Down

0 comments on commit 211dcea

Please sign in to comment.