Skip to content

Commit

Permalink
CylindricalGridPhiZ: Remove #if,#else __cplusplus >= 201103L conditio…
Browse files Browse the repository at this point in the history
…n: obsolete.
  • Loading branch information
ybedfer committed Jul 22, 2024
1 parent 3044fd6 commit 7cb23cf
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions DDCore/src/segmentations/CylindricalGridPhiZ.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,14 +91,7 @@ Vector3D CylindricalGridPhiZ::position(const CellID& cID) const {
}

std::vector<double> CylindricalGridPhiZ::cellDimensions(const CellID&) const {
#if __cplusplus >= 201103L
return {_radius*_gridSizePhi, _gridSizeZ};
#else
std::vector<double> cellDims(2,0.0);
cellDims[0] = _radius*_gridSizePhi;
cellDims[1] = _gridSizeZ;
return cellDims;
#endif
}


Expand Down

0 comments on commit 7cb23cf

Please sign in to comment.