Fixed issue where 32 bit compilation cause template type deduction fail (#247)

Signed-off-by: David Corbeil <david.corbeil@dynon.com>
This commit is contained in:
David Corbeil
2024-11-05 22:49:08 +01:00
committed by GitHub
parent 9fe3758063
commit beb27d4f4d
@@ -43,7 +43,7 @@ void call_destructor_on_one_if_necessary(const std::array<bool, _size>& _set,
}
}
template <class ViewType, unsigned long _size>
template <class ViewType, auto _size>
void call_destructors_where_necessary(const std::array<bool, _size>& _set,
ViewType* _view) {
[&]<int... is>(std::integer_sequence<int, is...>) {