Skip to content

Bug fix#1189

Merged
trcrsired merged 10 commits into
cppfastio:masterfrom
puji4810:bug-fix
Aug 18, 2025
Merged

Bug fix#1189
trcrsired merged 10 commits into
cppfastio:masterfrom
puji4810:bug-fix

Conversation

@puji4810

Copy link
Copy Markdown
Contributor

No description provided.

else
{
return static_cast<T *>(alloc::allocate_aligned(n * sizeof(T), alignof(T)));
return static_cast<T *>(alloc::allocate_aligned(alignof(T), n * sizeof(T)));

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change the order to match the function signature like

static inline void *allocate_aligned(::std::size_t alignment, ::std::size_t n) noexcept

@trcrsired trcrsired merged commit 87eee28 into cppfastio:master Aug 18, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants