Skip to content

Commit

Permalink
Update Src/Particle/AMReX_ArrayOfStructs.H
Browse files Browse the repository at this point in the history
  • Loading branch information
WeiqunZhang authored Jul 26, 2023
1 parent 85b92f1 commit ced9158
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, Allocator<ParticleType>>& other)
void swap (ArrayOfStructs& other)
{
m_data.swap(other.m_data);
}
Expand Down

0 comments on commit ced9158

Please sign in to comment.