Skip to content

Commit fd81d67

Browse files
Workaround alignment issue spotted on windows 32bits
1 parent 368d79f commit fd81d67

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/xsimd/types/xsimd_batch.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ struct batch : types::simd_register<T, A> {
3333
batch() = default;
3434
batch(T val);
3535
batch(std::initializer_list<T> data) : batch(data.begin(), detail::make_index_sequence<size>()) {}
36-
explicit batch(batch_bool_type b);
36+
explicit batch(batch_bool_type const &b);
3737
batch(register_type reg) : types::simd_register<T, A>({reg}) {}
3838

3939
template<class U>
@@ -361,7 +361,7 @@ template<class T, class A>
361361
batch<T, A>::batch(T val) : types::simd_register<T, A>(kernel::broadcast<A>(val, A{})) {}
362362

363363
template<class T, class A>
364-
batch<T, A>::batch(batch_bool<T, A> b) : batch(kernel::from_bool(b, A{})) {}
364+
batch<T, A>::batch(batch_bool<T, A> const &b) : batch(kernel::from_bool(b, A{})) {}
365365

366366
template<class T, class A>
367367
template<size_t... Is>

0 commit comments

Comments
 (0)