Skip to content

Commit

Permalink
Fix clang-tidy warning seen in incflo
Browse files Browse the repository at this point in the history
  • Loading branch information
WeiqunZhang committed Jul 6, 2023
1 parent 7fed45f commit bbe9c29
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Src/Base/AMReX_PhysBCFunct.H
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,10 @@ public:
}

// For backward compatibility
void FillBoundary (MultiFab& mf, int dcomp, int ncomp, IntVect const& nghost,
void FillBoundary (MultiFab& mf, int icomp, int ncomp, IntVect const& nghost,
Real time, int bccomp) {
this->operator()(mf,dcomp,ncomp,nghost,time,bccomp);
// NOLINTNEXTLINE(readability-suspicious-call-argument)
this->operator()(mf,icomp,ncomp,nghost,time,bccomp);
}

private:
Expand Down

0 comments on commit bbe9c29

Please sign in to comment.