Skip to content

Commit

Permalink
Fix missing const for int conversion of CommID (#3122)
Browse files Browse the repository at this point in the history
  • Loading branch information
TotoGaz authored May 14, 2024
1 parent a1fec52 commit db7cc5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coreComponents/mesh/mpiCommunications/CommID.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class CommID
CommID & operator=( CommID && ) = delete;

/// user defined conversion operator to int
constexpr operator int()
constexpr operator int() const
{ return m_id; }

private:
Expand Down

0 comments on commit db7cc5d

Please sign in to comment.