diff --git a/Utils/hydro_bcs_K.H b/Utils/hydro_bcs_K.H index 11b0d3e64..050d6f38e 100644 --- a/Utils/hydro_bcs_K.H +++ b/Utils/hydro_bcs_K.H @@ -31,9 +31,9 @@ namespace HydroBC{ // Choose between single BC per domain face or position dependent BC array // [[nodiscard]] AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE -const amrex::BCRec getBC (const int i, const int j, const int k, const int n, - const amrex::Box& m_domain, const amrex::BCRec* bcr, - amrex::Array4 const& bca) +amrex::BCRec getBC (const int i, const int j, const int k, const int n, + const amrex::Box& m_domain, const amrex::BCRec* bcr, + amrex::Array4 const& bca) { if ( !bca ) { return bcr[n]; }