Skip to content

Commit beb27d4

Browse files
authored
Fixed issue where 32 bit compilation cause template type deduction fail (#247)
Signed-off-by: David Corbeil <[email protected]>
1 parent 9fe3758 commit beb27d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/rfl/parsing/call_destructors_where_necessary.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ void call_destructor_on_one_if_necessary(const std::array<bool, _size>& _set,
4343
}
4444
}
4545

46-
template <class ViewType, unsigned long _size>
46+
template <class ViewType, auto _size>
4747
void call_destructors_where_necessary(const std::array<bool, _size>& _set,
4848
ViewType* _view) {
4949
[&]<int... is>(std::integer_sequence<int, is...>) {

0 commit comments

Comments
 (0)