Skip to content

Commit

Permalink
Fix warnings (AMReX-Combustion#519)
Browse files Browse the repository at this point in the history
  • Loading branch information
marchdf authored Aug 6, 2024
1 parent 5b31268 commit fe882f0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Source/Radiation/MLMGParam.H
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public:
}

AMREX_GPU_HOST
MLMGParam(const amrex::ParmParse& pp) : pp_(pp)
MLMGParam(const amrex::ParmParse pp) : pp_(std::move(pp))
{
pp_.query("kppath", kppath_);
pp_.query("verbose", verbose_);
Expand Down
4 changes: 2 additions & 2 deletions Source/Radiation/POneMulti.H
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public:

// constructor
POneMulti(
MLMGParam const& mlmgpp,
MLMGParam const mlmgpp,
amrex::Vector<amrex::Geometry>& geom,
amrex::Vector<amrex::BoxArray>& grids,
amrex::Vector<amrex::DistributionMapping>& dmap,
Expand All @@ -50,7 +50,7 @@ public:
amrex::Vector<amrex::MultiFab> const& robin_a,
amrex::Vector<amrex::MultiFab> const& robin_b,
amrex::Vector<amrex::MultiFab> const& robin_f)
: mlmgpp_(mlmgpp),
: mlmgpp_(std::move(mlmgpp)),
geom_(geom),
grids_(grids),
dmap_(dmap),
Expand Down

0 comments on commit fe882f0

Please sign in to comment.