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 authored and andresailer committed Jul 24, 2024
1 parent 07fdcd3 commit c3b305c
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 c3b305c

Please sign in to comment.