diff --git a/Source/ablastr/fields/MultiFabRegister.H b/Source/ablastr/fields/MultiFabRegister.H index febbf1c366e..f7525a0a749 100644 --- a/Source/ablastr/fields/MultiFabRegister.H +++ b/Source/ablastr/fields/MultiFabRegister.H @@ -37,7 +37,7 @@ namespace /** helper to either cast a string/char array to string to query an AMREX_ENUM */ template - std::string getExtractedName (T name) + std::string getExtractedName ([[maybe_unused]] T name) { if constexpr(is_castable_to_string()) {