From c95548d93556e0878f8528bc21a74afd5c528b51 Mon Sep 17 00:00:00 2001 From: Roland Conybeare Date: Sat, 27 Apr 2024 08:12:25 -0400 Subject: [PATCH] xo-unit: tidy: namespace nu2 -> nu --- include/xo/unit/Quantity.hpp | 2 +- include/xo/unit/natural_unit.hpp | 4 ++-- include/xo/unit/scaled_unit.hpp | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/include/xo/unit/Quantity.hpp b/include/xo/unit/Quantity.hpp index 2d4aa352..32d6656d 100644 --- a/include/xo/unit/Quantity.hpp +++ b/include/xo/unit/Quantity.hpp @@ -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*/ diff --git a/include/xo/unit/natural_unit.hpp b/include/xo/unit/natural_unit.hpp index eea297b9..686b7054 100644 --- a/include/xo/unit/natural_unit.hpp +++ b/include/xo/unit/natural_unit.hpp @@ -321,7 +321,7 @@ namespace xo { } /*namespace detail*/ - namespace nu2 { + namespace nu { constexpr auto dimensionless = natural_unit(); constexpr auto picogram = natural_unit::from_bu(bu::picogram); @@ -363,7 +363,7 @@ namespace xo { constexpr auto currency = natural_unit::from_bu(bu::currency); constexpr auto price = natural_unit::from_bu(bu::price); - } + } /*namespace nu*/ } /*namespace qty*/ } /*namespace xo*/ diff --git a/include/xo/unit/scaled_unit.hpp b/include/xo/unit/scaled_unit.hpp index 32f19d71..1f4fb364 100644 --- a/include/xo/unit/scaled_unit.hpp +++ b/include/xo/unit/scaled_unit.hpp @@ -43,8 +43,8 @@ namespace xo { } namespace su2 { - constexpr auto nanogram = detail::make_unit_rescale_result(nu2::nanogram); - constexpr auto microgram = detail::make_unit_rescale_result(nu2::microgram); + constexpr auto nanogram = detail::make_unit_rescale_result(nu::nanogram); + constexpr auto microgram = detail::make_unit_rescale_result(nu::microgram); } namespace detail {