aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/PhysicalParticleContainer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Particles/PhysicalParticleContainer.cpp')
-rw-r--r--Source/Particles/PhysicalParticleContainer.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/Particles/PhysicalParticleContainer.cpp b/Source/Particles/PhysicalParticleContainer.cpp
index 7a32e051d..ac6aecbac 100644
--- a/Source/Particles/PhysicalParticleContainer.cpp
+++ b/Source/Particles/PhysicalParticleContainer.cpp
@@ -2751,7 +2751,7 @@ PhysicalParticleContainer::PushPX (WarpXParIter& pti,
CompileTimeOptions<no_qed ,has_qed>>{},
{exteb_runtime_flag, qed_runtime_flag},
np_to_push, [=] AMREX_GPU_DEVICE (long ip, auto exteb_control,
- [[maybe_unused]] auto qed_control)
+ auto qed_control)
{
amrex::ParticleReal xp, yp, zp;
getPosition(ip, xp, yp, zp);
@@ -2824,6 +2824,8 @@ PhysicalParticleContainer::PushPX (WarpXParIter& pti,
dt, p_optical_depth_QSR[ip]);
}
}
+#else
+ amrex::ignore_unused(qed_control);
#endif
});
}