refactor: derived_kind template parameters reordered to be compatible with a derived_unit

Resolves #229
This commit is contained in:
Mateusz Pusz
2021-05-10 16:45:38 +02:00
parent 8e88f06380
commit 7ead50acfc
6 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -151,7 +151,7 @@ static_assert(!equivalent<abscissa::_point_kind_base, horizontal_velocity>);
struct height : kind<height, dim_length> {};
struct rate_of_climb : derived_kind<rate_of_climb, height, dim_speed> {}; // program-defined derived kind
struct rate_of_climb : derived_kind<rate_of_climb, dim_speed, height> {}; // program-defined derived kind
struct velocity_of_climb : point_kind<velocity_of_climb, rate_of_climb> {}; // program-defined derived point kind
static_assert(Kind<rate_of_climb>);