diff --git a/docs/users_guide/framework_basics/design_overview.md b/docs/users_guide/framework_basics/design_overview.md index 577710f4..ce7f4441 100644 --- a/docs/users_guide/framework_basics/design_overview.md +++ b/docs/users_guide/framework_basics/design_overview.md @@ -352,7 +352,7 @@ For example: - the relative point origin can be defined in the following way: ```cpp - inline constexpr struct ice_point : relative_point_origin {} ice_point; + inline constexpr struct ice_point : relative_point_origin> {} ice_point; ``` diff --git a/docs/users_guide/framework_basics/the_affine_space.md b/docs/users_guide/framework_basics/the_affine_space.md index 35f2e2a1..9c1d3677 100644 --- a/docs/users_guide/framework_basics/the_affine_space.md +++ b/docs/users_guide/framework_basics/the_affine_space.md @@ -438,7 +438,7 @@ namespace si { inline constexpr struct absolute_zero : absolute_point_origin {} absolute_zero; inline constexpr struct zeroth_kelvin : decltype(absolute_zero) {} zeroth_kelvin; -inline constexpr struct ice_point : relative_point_origin {} ice_point; +inline constexpr struct ice_point : relative_point_origin}> {} ice_point; inline constexpr struct zeroth_degree_Celsius : decltype(ice_point) {} zeroth_degree_Celsius; } diff --git a/src/systems/si/include/mp-units/systems/si/units.h b/src/systems/si/include/mp-units/systems/si/units.h index 2167075e..38735580 100644 --- a/src/systems/si/include/mp-units/systems/si/units.h +++ b/src/systems/si/include/mp-units/systems/si/units.h @@ -78,7 +78,7 @@ inline constexpr struct weber : named_unit<"Wb", volt * second> {} weber; inline constexpr struct tesla : named_unit<"T", weber / square(metre)> {} tesla; inline constexpr struct henry : named_unit<"H", weber / ampere> {} henry; -inline constexpr struct ice_point : relative_point_origin {} ice_point; +inline constexpr struct ice_point : relative_point_origin}> {} ice_point; inline constexpr struct zeroth_degree_Celsius : decltype(ice_point) {} zeroth_degree_Celsius; inline constexpr struct degree_Celsius : named_unit {} degree_Celsius;