refactor: 💥 ! derived_deduced_unit renamed to derived_scaled_unit

Naming is hard ;-)
This commit is contained in:
Mateusz Pusz committed 2022-05-11 12:34:52 +02:00
1 parent 32b36fb670
commit 5300caf17b
16 files changed
+65 -65

No files matched your search

+1 -1
View File
@@ -73,7 +73,7 @@ struct kilogram_per_second : derived_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_deduced_unit<kilogram_per_hour, dim_mass_rate, kilogram, hour> {};
struct kilogram_per_hour : derived_scaled_unit<kilogram_per_hour, dim_mass_rate, kilogram, hour> {};
[[maybe_unused]] constexpr auto a = 1_q_kg / 1_q_h;
} // namespace