Skip to content

Commit

Permalink
IOSS: Eliminate duplicate non-overloaded function problem
Browse files Browse the repository at this point in the history
  • Loading branch information
gsjaardema committed Feb 19, 2024
1 parent a37aad7 commit 56e72e2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/seacas/libraries/ioss/src/Ioss_Region.C
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright(C) 1999-2023 National Technology & Engineering Solutions
// Copyright(C) 1999-2024 National Technology & Engineering Solutions
// of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with
// NTESS, the U.S. Government retains certain rights in this software.
//
Expand Down Expand Up @@ -2382,7 +2382,7 @@ namespace Ioss {
{
IOSS_FUNC_ENTER(m_);
for (const auto &sb : structuredBlocks) {
if (sb->contains(global_offset)) {
if (sb->contains_node(global_offset)) {
return sb;
}
}
Expand Down
2 changes: 1 addition & 1 deletion packages/seacas/libraries/ioss/src/Ioss_StructuredBlock.h
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ namespace Ioss {
return index;
}

bool contains(size_t global_offset) const
bool contains_node(size_t global_offset) const
{
return (global_offset >= m_nodeOffset &&
global_offset < m_nodeOffset + get_property("node_count").get_int());
Expand Down

0 comments on commit 56e72e2

Please sign in to comment.