aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/Resampling/LevelingThinning.H
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Particles/Resampling/LevelingThinning.H')
-rw-r--r--Source/Particles/Resampling/LevelingThinning.H4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Particles/Resampling/LevelingThinning.H b/Source/Particles/Resampling/LevelingThinning.H
index 7b491fc9d..d7db1e702 100644
--- a/Source/Particles/Resampling/LevelingThinning.H
+++ b/Source/Particles/Resampling/LevelingThinning.H
@@ -36,7 +36,7 @@ public:
*
* @param[in] species_name the name of the resampled species
*/
- LevelingThinning (const std::string species_name);
+ LevelingThinning (std::string species_name);
/**
* \brief A method that performs leveling thinning for the considered species.
@@ -45,7 +45,7 @@ public:
* @param[in] lev the index of the refinement level.
* @param[in] pc a pointer to the particle container.
*/
- void operator() (WarpXParIter& pti, const int lev, WarpXParticleContainer * const pc) const override final;
+ void operator() (WarpXParIter& pti, int lev, WarpXParticleContainer* pc) const override final;
private:
amrex::Real m_target_ratio = amrex::Real(1.5);