Skip to content

Commit

Permalink
Add second template parameter to other AoS for swap
Browse files Browse the repository at this point in the history
  • Loading branch information
atmyers committed Jul 26, 2023
1 parent e0583fb commit 85b92f1
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<ParticleType, Allocator<ParticleType>>& other)
{
m_data.swap(other.m_data);
}
Expand Down

0 comments on commit 85b92f1

Please sign in to comment.