mirror of
https://codeberg.org/DawnMagnet/reflect-cpp
synced 2026-12-06 10:46:18 +08:00
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:
@@ -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...>) {
|
||||
|
||||
Reference in New Issue
Block a user