Skip to content

Commit

Permalink
Add second template parameter to other AoS for swap (#3450)
Browse files Browse the repository at this point in the history
  • Loading branch information
atmyers and WeiqunZhang authored Jul 26, 2023
1 parent 8aa7dc6 commit b75dd9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Src/Particle/AMReX_ArrayOfStructs.H
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public:
[[nodiscard]] const ParticleType& operator[] (int i) const { return m_data[i]; }
[[nodiscard]] ParticleType& operator[] (int i) { return m_data[i]; }

void swap (ArrayOfStructs<ParticleType>& other)
void swap (ArrayOfStructs& other)
{
m_data.swap(other.m_data);
}
Expand Down

0 comments on commit b75dd9d

Please sign in to comment.