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
@@ -54,7 +54,7 @@ using downcast_point_kind = downcast<detail::_point_kind_base<K>>;
template<typename K, Dimension D>
struct kind : downcast_dispatch<K, detail::_kind_base<K, D>> {};
template<typename DK, Kind BK, Dimension D>
template<typename DK, Dimension D, Kind BK>
requires std::same_as<BK, typename BK::base_kind>
struct derived_kind : downcast_dispatch<DK, detail::_kind_base<BK, D>> {};