Skip to content

Commit

Permalink
Function getDoBackTransformedParticles should be marked `[[nodiscar…
Browse files Browse the repository at this point in the history
…d]]`
  • Loading branch information
EZoni committed Feb 3, 2025
1 parent a138ba7 commit f0cfc91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Particles/MultiParticleContainer.H
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ public:

/** Get value of private member m_do_back_transformed_particles
*/
bool getDoBackTransformedParticles () const
[[nodiscard]] bool getDoBackTransformedParticles () const
{
return m_do_back_transformed_particles;
}
Expand Down

0 comments on commit f0cfc91

Please sign in to comment.