xo-unit: tidy: namespace nu2 -> nu

This commit is contained in:
Roland Conybeare 2024-04-27 08:12:25 -04:00
commit c95548d935
3 changed files with 5 additions and 5 deletions

View file

@ -333,7 +333,7 @@ namespace xo {
}
namespace unit {
constexpr auto nanogram = natural_unit_qty(nu2::nanogram);
constexpr auto nanogram = natural_unit_qty(nu::nanogram);
}
} /*namespace qty*/
} /*namespace xo*/

View file

@ -321,7 +321,7 @@ namespace xo {
} /*namespace detail*/
namespace nu2 {
namespace nu {
constexpr auto dimensionless = natural_unit<std::int64_t>();
constexpr auto picogram = natural_unit<std::int64_t>::from_bu(bu::picogram);
@ -363,7 +363,7 @@ namespace xo {
constexpr auto currency = natural_unit<std::int64_t>::from_bu(bu::currency);
constexpr auto price = natural_unit<std::int64_t>::from_bu(bu::price);
}
} /*namespace nu*/
} /*namespace qty*/
} /*namespace xo*/

View file

@ -43,8 +43,8 @@ namespace xo {
}
namespace su2 {
constexpr auto nanogram = detail::make_unit_rescale_result<std::int64_t>(nu2::nanogram);
constexpr auto microgram = detail::make_unit_rescale_result<std::int64_t>(nu2::microgram);
constexpr auto nanogram = detail::make_unit_rescale_result<std::int64_t>(nu::nanogram);
constexpr auto microgram = detail::make_unit_rescale_result<std::int64_t>(nu::microgram);
}
namespace detail {