Skip to content

Commit

Permalink
IOSS: Fix operator== for C++20
Browse files Browse the repository at this point in the history
  • Loading branch information
gsjaardema committed Aug 24, 2023
1 parent 6eb19ed commit a013a84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/seacas/libraries/ioss/src/Ioss_ChainGenerator.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
namespace Ioss {
template <typename INT> struct chain_entry_t
{
bool operator==(const chain_entry_t<INT> &other) { return (element == other.element); }
bool operator==(const chain_entry_t<INT> &other) const { return (other.element == element); }
int64_t element{}; // Element at root of chain
int link{}; // How far is this element in the chain (1-based)
};
Expand Down

0 comments on commit a013a84

Please sign in to comment.