Skip to content

Commit

Permalink
Use default arch alignment as default alignment for xsimd::aligned_al…
Browse files Browse the repository at this point in the history
…locator
  • Loading branch information
serge-sans-paille committed Jan 20, 2025
1 parent e28ef98 commit adeee31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/xsimd/memory/xsimd_aligned_allocator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ namespace xsimd
* @tparam T type of objects to allocate.
* @tparam Align alignment in bytes.
*/
template <class T, size_t Align>
template <class T, size_t Align=default_arch::alignment()>
class aligned_allocator
{
public:
Expand Down

0 comments on commit adeee31

Please sign in to comment.