mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-21 23:20:20 +00:00
AK: Fix integer_sequence_generate_array
It was for some reason Architecture dependent. Now we use size_t instead of unsinged long
This commit is contained in:
parent
0b04363b01
commit
f673f08bec
Notes:
sideshowbarker
2024-07-18 21:13:16 +09:00
Author: https://github.com/Hendiadyoin1 Commit: https://github.com/SerenityOS/serenity/commit/f673f08bec2 Pull-request: https://github.com/SerenityOS/serenity/pull/5679 Reviewed-by: https://github.com/ADKaster Reviewed-by: https://github.com/linusg
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ template<typename T, typename... Types>
|
|||
Array(T, Types...) -> Array<T, sizeof...(Types) + 1>;
|
||||
|
||||
namespace Detail {
|
||||
template<typename T, unsigned long... Is>
|
||||
template<typename T, size_t... Is>
|
||||
constexpr auto integer_sequence_generate_array([[maybe_unused]] const T offset, IntegerSequence<T, Is...>) -> Array<T, sizeof...(Is)>
|
||||
{
|
||||
return { { (offset + Is)... } };
|
||||
|
|
Loading…
Reference in a new issue