diff options
author | Claudius Holeksa <mail@keldu.de> | 2023-05-23 16:38:43 +0200 |
---|---|---|
committer | Claudius Holeksa <mail@keldu.de> | 2023-05-23 16:38:43 +0200 |
commit | 613cfebc0b2a2968260e5f9122d7b5e7ba3755c3 (patch) | |
tree | 5ebbd0fc749c1939e16432351005a5999b317f2b /src/kelunit/distance | |
parent | 3be2ae868746f2fc09f69e667e18b838cef82be9 (diff) |
c++: Renamed class and fixed namespace naming
Diffstat (limited to 'src/kelunit/distance')
-rw-r--r-- | src/kelunit/distance/meter.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kelunit/distance/meter.h b/src/kelunit/distance/meter.h index 57ca58e..0d9fb3b 100644 --- a/src/kelunit/distance/meter.h +++ b/src/kelunit/distance/meter.h @@ -4,7 +4,7 @@ #include <string_view> -namespace kelun { +namespace kel { namespace unit_type { struct meter{ static constexpr std::string_view name = "meter"; @@ -13,8 +13,8 @@ struct meter{ } template<typename S> -using meter = unit<S,unit_base<unit_type::meter,1>>; +using meter = unit<S,unit_component<unit_type::meter,1>>; template<typename S> -using square_meter = unit<S,unit_base<unit_type::meter,2>>; +using square_meter = unit<S,unit_component<unit_type::meter,2>>; } |