File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -282,7 +282,7 @@ template <typename... Content> constexpr auto calculate_first(Content...) noexce
282
282
283
283
// calculate mutual exclusivity
284
284
template <typename ... Content> constexpr size_t calculate_size_of_first (ctre::negative_set<Content...>) {
285
- return 1 + 1 * sizeof ...(Content );
285
+ return 1 + calculate_size_of_first (ctre::set<Content ...>{} );
286
286
}
287
287
288
288
template <auto ... V> constexpr size_t calculate_size_of_first (ctre::enumeration<V...>) {
Original file line number Diff line number Diff line change @@ -3722,7 +3722,7 @@ template <typename... Content> constexpr auto calculate_first(Content...) noexce
3722
3722
3723
3723
// calculate mutual exclusivity
3724
3724
template <typename... Content> constexpr size_t calculate_size_of_first(ctre::negative_set<Content...>) {
3725
- return 1 + 1 * sizeof ...(Content );
3725
+ return 1 + calculate_size_of_first(ctre::set<Content ...>{} );
3726
3726
}
3727
3727
3728
3728
template <auto... V> constexpr size_t calculate_size_of_first(ctre::enumeration<V...>) {
Original file line number Diff line number Diff line change @@ -3719,7 +3719,7 @@ template <typename... Content> constexpr auto calculate_first(Content...) noexce
3719
3719
3720
3720
// calculate mutual exclusivity
3721
3721
template <typename ... Content> constexpr size_t calculate_size_of_first (ctre::negative_set<Content...>) {
3722
- return 1 + 1 * sizeof ...(Content );
3722
+ return 1 + calculate_size_of_first (ctre::set<Content ...>{} );
3723
3723
}
3724
3724
3725
3725
template <auto ... V> constexpr size_t calculate_size_of_first (ctre::enumeration<V...>) {
You can’t perform that action at this time.
0 commit comments