refactor: 💥 ! derived_unit renamed to derived_deduced_unit

This commit is contained in:
Mateusz Pusz
2022-05-11 11:23:18 +02:00
parent 8d0b643bb3
commit f5d21a0711
16 changed files with 67 additions and 65 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ struct kilogram_per_second : unit<kilogram_per_second> {};
struct dim_mass_rate :
derived_dimension<dim_mass_rate, kilogram_per_second, units::exponent<dim_mass, 1>, units::exponent<dim_time, -1>> {
};
struct kilogram_per_hour : derived_unit<kilogram_per_hour, dim_mass_rate, kilogram, hour> {};
struct kilogram_per_hour : derived_deduced_unit<kilogram_per_hour, dim_mass_rate, kilogram, hour> {};
[[maybe_unused]] constexpr auto a = 1_q_kg / 1_q_h;
} // namespace