From 4638e5aececfb33d39677d6d4f6241a3953ebe34 Mon Sep 17 00:00:00 2001 From: Luca Fedeli Date: Tue, 1 Aug 2023 00:08:20 +0200 Subject: Clang tidy CI test: add some modernize checks to clang-tidy CI test (#4133) * Clang Tidy: add several modernize checks * eliminate file included in commit by mistake * fix bug --- .../FiniteDifferenceAlgorithms/CartesianNodalAlgorithm.H | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/FieldSolver/FiniteDifferenceSolver/FiniteDifferenceAlgorithms/CartesianNodalAlgorithm.H') diff --git a/Source/FieldSolver/FiniteDifferenceSolver/FiniteDifferenceAlgorithms/CartesianNodalAlgorithm.H b/Source/FieldSolver/FiniteDifferenceSolver/FiniteDifferenceAlgorithms/CartesianNodalAlgorithm.H index 01d83804b..b693ed878 100644 --- a/Source/FieldSolver/FiniteDifferenceSolver/FiniteDifferenceAlgorithms/CartesianNodalAlgorithm.H +++ b/Source/FieldSolver/FiniteDifferenceSolver/FiniteDifferenceAlgorithms/CartesianNodalAlgorithm.H @@ -60,7 +60,7 @@ struct CartesianNodalAlgorithm { */ static amrex::IntVect GetMaxGuardCell () { // The nodal solver requires one guard cell in each dimension - return (amrex::IntVect(AMREX_D_DECL(1,1,1))); + return amrex::IntVect{AMREX_D_DECL(1,1,1)}; } /** -- cgit v1.2.3