From 7cb23cf7e45cd434c2caf4e28011ebba990a2851 Mon Sep 17 00:00:00 2001 From: ybedfer Date: Mon, 22 Jul 2024 11:11:17 +0200 Subject: [PATCH] CylindricalGridPhiZ: Remove #if,#else __cplusplus >= 201103L condition: obsolete. --- DDCore/src/segmentations/CylindricalGridPhiZ.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/DDCore/src/segmentations/CylindricalGridPhiZ.cpp b/DDCore/src/segmentations/CylindricalGridPhiZ.cpp index 284084727..36e731ff3 100644 --- a/DDCore/src/segmentations/CylindricalGridPhiZ.cpp +++ b/DDCore/src/segmentations/CylindricalGridPhiZ.cpp @@ -91,14 +91,7 @@ Vector3D CylindricalGridPhiZ::position(const CellID& cID) const { } std::vector CylindricalGridPhiZ::cellDimensions(const CellID&) const { -#if __cplusplus >= 201103L return {_radius*_gridSizePhi, _gridSizeZ}; -#else - std::vector cellDims(2,0.0); - cellDims[0] = _radius*_gridSizePhi; - cellDims[1] = _gridSizeZ; - return cellDims; -#endif }