feat: mag_pi marked as deprecated

This commit is contained in:
Mateusz Pusz
2024-09-26 10:20:45 +02:00
parent 8c12f95ee5
commit fe1fab03a3

View File

@@ -589,6 +589,8 @@ struct pi : mag_constant {
};
inline constexpr pi pi;
[[deprecated("Use `mag<pi>` instead")]] inline constexpr Magnitude auto mag_pi = mag<pi>;
MP_UNITS_EXPORT_END
namespace detail {