Skip to content

Commit

Permalink
IOSS: Remove dummy INT parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
gdsjaar committed Nov 5, 2024
1 parent 6816f51 commit 4a4e7c3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4861,7 +4861,7 @@ namespace Ioex {
}

template <typename INT>
void ParallelDatabaseIO::output_processor_id_map(Ioss::Region *region, INT /*dummy*/)
void ParallelDatabaseIO::output_processor_id_map(Ioss::Region *region)
{
std::vector<INT> proc_id(elementCount, myProcessor);
const auto &blocks = region->get_element_blocks();
Expand Down Expand Up @@ -4925,10 +4925,10 @@ namespace Ioex {
add_processor_id_map(region);
output_other_metadata();
if (int_byte_size_api() == 8) {
output_processor_id_map(region, int64_t(0));
output_processor_id_map<int64_t>(region);
}
else {
output_processor_id_map(region, int(0));
output_processor_id_map<int>(region);
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ namespace Ioex {
void write_entity_transient_field(const Ioss::Field &field, const Ioss::GroupingEntity *ge,
int64_t count, void *variables) const;
void write_meta_data(Ioss::IfDatabaseExistsBehavior behavior) override;
template <typename INT> void output_processor_id_map(Ioss::Region *region, INT /*dummy*/);
template <typename INT> void output_processor_id_map(Ioss::Region *region);

// Read related metadata and store it in the region...
void read_region();
Expand Down

0 comments on commit 4a4e7c3

Please sign in to comment.