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/time | |
parent | 3be2ae868746f2fc09f69e667e18b838cef82be9 (diff) |
c++: Renamed class and fixed namespace naming
Diffstat (limited to 'src/kelunit/time')
-rw-r--r-- | src/kelunit/time/second.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kelunit/time/second.h b/src/kelunit/time/second.h index 07145ca..6dca456 100644 --- a/src/kelunit/time/second.h +++ b/src/kelunit/time/second.h @@ -2,7 +2,7 @@ #include "../unit.h" -namespace kelun { +namespace kel { namespace unit_type { struct second{ static constexpr std::string_view name = "second"; @@ -11,5 +11,5 @@ struct second{ } template<typename S> -using second = unit<S,unit_base<unit_type::second,1>>; +using second = unit<S,unit_component<unit_type::second,1>>; } |