From 806fb0751bac13ec0b67e136204d45a4714f2bf5 Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Sat, 10 Sep 2022 08:44:46 +0200 Subject: [PATCH] refactor: `short_units` renamed to `unit_symbols` --- example/v2_framework.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/example/v2_framework.cpp b/example/v2_framework.cpp index a0c4652e..6b9803ac 100644 --- a/example/v2_framework.cpp +++ b/example/v2_framework.cpp @@ -123,7 +123,7 @@ inline constexpr struct joule : named_unit<"J", newton * metre> { inline constexpr struct watt : named_unit<"W", joule / second> { } watt; -namespace short_units { +namespace unit_symbols { inline namespace length_units { @@ -194,7 +194,7 @@ inline constexpr auto W = watt; } -} // namespace short_units +} // namespace unit_symbols } // namespace isq::si } // namespace units @@ -438,7 +438,7 @@ static_assert( using namespace units; using namespace units::isq::si; -using namespace units::isq::si::short_units; +using namespace units::isq::si::unit_symbols; /* Frequency */ auto freq1 = 20 * frequency[Hz]; // /* Frequency */ auto freq2 = 20 / (1 * isq::si::time[s]);