diff --git a/src/coordinates.h b/src/coordinates.h index 317b4afaacab4..3306ff7856b5e 100644 --- a/src/coordinates.h +++ b/src/coordinates.h @@ -289,23 +289,23 @@ 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 const coord_point_ob +inline constexpr coord_point_ob coord_point_ob::min = coord_point_ob( Point::min ); template -inline constexpr const coord_point_ob +inline constexpr coord_point_ob coord_point_ob::max = coord_point_ob( Point::max ); template -inline constexpr const coord_point_ob +inline constexpr coord_point_ob coord_point_ob::invalid = coord_point_ob( Point::invalid ); template -inline constexpr const coord_point_ob +inline constexpr coord_point_ob coord_point_ob::zero = coord_point_ob( Point::zero ); template -inline constexpr const coord_point_ob +inline constexpr coord_point_ob coord_point_ob_rel::north = coord_point_ob( Point::north ); @@ -315,7 +315,7 @@ coord_point_ob_rel::north_east = coord_point_ob( Point::north_east ); template -inline constexpr const coord_point_ob +inline constexpr coord_point_ob coord_point_ob_rel::east = coord_point_ob( Point::east ); @@ -325,7 +325,7 @@ coord_point_ob_rel::south_east = coord_point_ob( Point::south_east ); template -inline constexpr const coord_point_ob +inline constexpr coord_point_ob coord_point_ob_rel::south = coord_point_ob( Point::south ); @@ -335,7 +335,7 @@ coord_point_ob_rel::south_west = coord_point_ob( Point::south_west ); template -inline constexpr const coord_point_ob +inline constexpr coord_point_ob coord_point_ob_rel::west = coord_point_ob( Point::west ); @@ -345,12 +345,12 @@ coord_point_ob_rel::north_west = coord_point_ob( Point::north_west ); template -inline constexpr const coord_point_ob +inline constexpr coord_point_ob coord_point_ob_3d::above = coord_point_ob( Point::above ); template -inline constexpr const coord_point_ob +inline constexpr coord_point_ob coord_point_ob_3d::below = coord_point_ob( Point::below );