From 700cde2d499742160deb361f42b7e861ae1db8ed Mon Sep 17 00:00:00 2001 From: Claudius 'keldu' Holeksa Date: Mon, 29 Jul 2024 14:18:30 +0200 Subject: Renaming to new standard --- c++/time/second.h | 15 --------------- c++/time/second.hpp | 15 +++++++++++++++ 2 files changed, 15 insertions(+), 15 deletions(-) delete mode 100644 c++/time/second.h create mode 100644 c++/time/second.hpp (limited to 'c++/time') diff --git a/c++/time/second.h b/c++/time/second.h deleted file mode 100644 index 6dca456..0000000 --- a/c++/time/second.h +++ /dev/null @@ -1,15 +0,0 @@ -#pragma once - -#include "../unit.h" - -namespace kel { -namespace unit_type { -struct second{ - static constexpr std::string_view name = "second"; - static constexpr std::string_view short_name = "s"; -}; -} - -template -using second = unit>; -} diff --git a/c++/time/second.hpp b/c++/time/second.hpp new file mode 100644 index 0000000..6dca456 --- /dev/null +++ b/c++/time/second.hpp @@ -0,0 +1,15 @@ +#pragma once + +#include "../unit.h" + +namespace kel { +namespace unit_type { +struct second{ + static constexpr std::string_view name = "second"; + static constexpr std::string_view short_name = "s"; +}; +} + +template +using second = unit>; +} -- cgit v1.2.3