diff --git a/apps/benchmarks/FreeSurfaceAdvection/SingleVortex.cpp b/apps/benchmarks/FreeSurfaceAdvection/SingleVortex.cpp index ab3894858e957339198dd4499caf03b8d5456fb6..c891e49fe4cc0895ab596fa823d3a6f1ad8389e0 100644 --- a/apps/benchmarks/FreeSurfaceAdvection/SingleVortex.cpp +++ b/apps/benchmarks/FreeSurfaceAdvection/SingleVortex.cpp @@ -62,7 +62,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; diff --git a/apps/benchmarks/FreeSurfaceAdvection/ZalesakDisk.cpp b/apps/benchmarks/FreeSurfaceAdvection/ZalesakDisk.cpp index 15f6b9885eaa55c12dee46a94d81e662f4840e42..ae1e754f264718017716799eca214158a4c961eb 100644 --- a/apps/benchmarks/FreeSurfaceAdvection/ZalesakDisk.cpp +++ b/apps/benchmarks/FreeSurfaceAdvection/ZalesakDisk.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;