diff --git a/DDCore/src/segmentations/CartesianGridUV.cpp b/DDCore/src/segmentations/CartesianGridUV.cpp index 635c37d00..78f50b03c 100644 --- a/DDCore/src/segmentations/CartesianGridUV.cpp +++ b/DDCore/src/segmentations/CartesianGridUV.cpp @@ -81,15 +81,8 @@ CellID CartesianGridUV::cellID(const Vector3D& localPosition, return cID; } - std::vector CartesianGridUV::cellDimensions(const CellID& /* cellID */) const { -#if __cplusplus >= 201103L - return {_gridSizeU, _gridSizeV}; -#else - std::vector cellDims(2,0.0); - cellDims[0] = _gridSizeU; - cellDims[1] = _gridSizeV; - return cellDims; -#endif +std::vector CartesianGridUV::cellDimensions(const CellID& /* cellID */) const { + return {_gridSizeU, _gridSizeV}; }