diff --git a/Source/reactions/Castro_react.H b/Source/reactions/Castro_react.H index a98c2e228e..815e0a2774 100644 --- a/Source/reactions/Castro_react.H +++ b/Source/reactions/Castro_react.H @@ -1,7 +1,7 @@ /// /// Perform any old-time reactions. /// - advance_status do_old_reactions (Real time, Real dt); // NOLINT(readability-convert-member-functions-to-static) + advance_status do_old_reactions (Real time, Real dt); /// /// Perform any new-time reactions. diff --git a/Source/reactions/Castro_react.cpp b/Source/reactions/Castro_react.cpp index bc070c7359..3e6ff3949b 100644 --- a/Source/reactions/Castro_react.cpp +++ b/Source/reactions/Castro_react.cpp @@ -12,8 +12,8 @@ using namespace amrex; #ifndef TRUE_SDC advance_status -Castro::do_old_reactions (Real time, Real dt) -{ +Castro::do_old_reactions (Real time, Real dt) { // NOLINT(readability-convert-member-functions-to-static) + amrex::ignore_unused(time); amrex::ignore_unused(dt);