changed hectare to an alias_unit

This commit is contained in:
Ramzi Sabra authored and Mateusz Pusz committed 2020-05-08 10:41:38 +02:00
1 parent 6f8bddc832
commit 7b8ad8e37c
2 files changed
+3 -1

No files matched your search

+1 -1
View File
@@ -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>;