summaryrefslogtreecommitdiff
path: root/c++/lbm_unit.hpp
diff options
context:
space:
mode:
authorClaudius "keldu" Holeksa <mail@keldu.de>2025-04-20 19:13:16 +0200
committerClaudius "keldu" Holeksa <mail@keldu.de>2025-04-20 19:13:16 +0200
commitf50bf98a4a39dfcfb5ad2690d0adaa851d3dc69a (patch)
tree133a8233a83228b783b1a1d12955aa22e722cc1a /c++/lbm_unit.hpp
parent15a0453cf45066f3d88db783b08ce266af59230f (diff)
Build conversion for basic types
Diffstat (limited to 'c++/lbm_unit.hpp')
-rw-r--r--c++/lbm_unit.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/c++/lbm_unit.hpp b/c++/lbm_unit.hpp
index e69323f..2d90652 100644
--- a/c++/lbm_unit.hpp
+++ b/c++/lbm_unit.hpp
@@ -1,4 +1,7 @@
#pragma once
+ /**
+ * Get the conversion parameter with the conversion type
+ */
#include <forstio/codec/unit/unit.hpp>
@@ -39,7 +42,7 @@ template<typename S>
using LbmMeter = Unit<S, UnitElement<lbm_type::meter, 1>>;
template<typename S>
-using SiSecond = Unit<S, UnitElement<si_type::meter, 1>>;
+using SiSecond = Unit<S, UnitElement<si_type::second, 1>>;
template<typename S>
using LbmSecond = Unit<S, UnitElement<lbm_type::second, 1>>;