From 6f2033d0ce800e8b629656c2db87eaa98cb281e4 Mon Sep 17 00:00:00 2001 From: "Clarence \"Sparr\" Risher" Date: Fri, 15 Nov 2024 15:36:19 -0500 Subject: [PATCH] Minimal storage class for point constants --- src/coordinates.h | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/src/coordinates.h b/src/coordinates.h index 85b887e24979f..d8abac2655695 100644 --- a/src/coordinates.h +++ b/src/coordinates.h @@ -289,68 +289,68 @@ class coord_point_ob : public // These definitions can go in the class in clang and gcc, and are much shorter there, // but MSVC doesn't allow that, so... template -inline constexpr coord_point_ob +const coord_point_ob coord_point_ob::min = coord_point_ob( Point::min ); template -inline constexpr coord_point_ob +const coord_point_ob coord_point_ob::max = coord_point_ob( Point::max ); template -inline constexpr coord_point_ob +const coord_point_ob coord_point_ob::invalid = coord_point_ob( Point::invalid ); template -inline constexpr coord_point_ob +const coord_point_ob coord_point_ob::zero = coord_point_ob( Point::zero ); template -inline constexpr coord_point_ob +const coord_point_ob coord_point_ob_rel::north = coord_point_ob( Point::north ); template -constexpr const coord_point_ob +const coord_point_ob coord_point_ob_rel::north_east = coord_point_ob( Point::north_east ); template -inline constexpr coord_point_ob +const coord_point_ob coord_point_ob_rel::east = coord_point_ob( Point::east ); template -constexpr const coord_point_ob +const coord_point_ob coord_point_ob_rel::south_east = coord_point_ob( Point::south_east ); template -inline constexpr coord_point_ob +const coord_point_ob coord_point_ob_rel::south = coord_point_ob( Point::south ); template -constexpr const coord_point_ob +const coord_point_ob coord_point_ob_rel::south_west = coord_point_ob( Point::south_west ); template -inline constexpr coord_point_ob +const coord_point_ob coord_point_ob_rel::west = coord_point_ob( Point::west ); template -constexpr const coord_point_ob +const coord_point_ob coord_point_ob_rel::north_west = coord_point_ob( Point::north_west ); template -inline constexpr coord_point_ob +const coord_point_ob coord_point_ob_3d::above = coord_point_ob( Point::above ); template -inline constexpr coord_point_ob +const coord_point_ob coord_point_ob_3d::below = coord_point_ob( Point::below );