changed hectare to an alias_unit
This commit is contained in:
1 parent
6f8bddc832
commit
7b8ad8e37c
2 files changed
+3
-1
No files matched your search
@@ -52,7 +52,7 @@ struct square_exametre : deduced_unit<square_exametre, dim_area, exametre> {};
|
||||
struct square_zettametre : deduced_unit<square_zettametre, dim_area, zettametre> {};
|
||||
struct square_yottametre : deduced_unit<square_yottametre, dim_area, yottametre> {};
|
||||
|
||||
using hectare = square_hectometre;
|
||||
struct hectare : alias_unit<square_hectometre, "ha"> {};
|
||||
|
||||
template<Unit U, Scalar Rep = double>
|
||||
using area = quantity<dim_area, U, Rep>;
|
||||
|
||||
Reference in new issue
Block a user