From eb1626bd54ed9fbbf7c2901773e6adc3c63816f6 Mon Sep 17 00:00:00 2001 From: dy94rovu <ravi.k.ayyala@fau.de> Date: Thu, 6 Mar 2025 16:35:09 +0100 Subject: [PATCH] modernize type traits --- apps/benchmarks/FreeSurfaceAdvection/DeformationField.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/benchmarks/FreeSurfaceAdvection/DeformationField.cpp b/apps/benchmarks/FreeSurfaceAdvection/DeformationField.cpp index d5060093c..622dc9960 100644 --- a/apps/benchmarks/FreeSurfaceAdvection/DeformationField.cpp +++ b/apps/benchmarks/FreeSurfaceAdvection/DeformationField.cpp @@ -61,7 +61,7 @@ using PdfCommunication_T = blockforest::SimpleCommunication< LatticeModelSten // the geometry computations in SurfaceGeometryHandler require meaningful values in the ghost layers in corner // directions (flag field and fill level field); this holds, even if the lattice model uses a D3Q19 stencil using CommunicationStencil_T = - typename std::conditional< LatticeModel_T::Stencil::D == uint_t(2), stencil::D2Q9, stencil::D3Q27 >::type; + std::conditional_t< LatticeModel_T::Stencil::D == uint_t(2), stencil::D2Q9, stencil::D3Q27 >; using Communication_T = blockforest::SimpleCommunication< CommunicationStencil_T >; using flag_t = uint32_t; -- GitLab