mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-21 23:20:20 +00:00
AK: Use the full name of 'integer_sequence_generate_array' in Variant.h
c27abaabc4
moved this out of the global
namespace, but did not qualify its users.
While this seems to be fine (sometimes, somehow), let's qualify it to
avoid random breakage.
This commit is contained in:
parent
2641a068dc
commit
d4e425e52e
Notes:
sideshowbarker
2024-07-18 04:34:34 +09:00
Author: https://github.com/alimpfard Commit: https://github.com/SerenityOS/serenity/commit/d4e425e52ee Pull-request: https://github.com/SerenityOS/serenity/pull/9858
1 changed files with 2 additions and 2 deletions
|
@ -394,8 +394,8 @@ public:
|
|||
}
|
||||
|
||||
private:
|
||||
static constexpr auto data_size = integer_sequence_generate_array<size_t>(0, IntegerSequence<size_t, sizeof(Ts)...>()).max();
|
||||
static constexpr auto data_alignment = integer_sequence_generate_array<size_t>(0, IntegerSequence<size_t, alignof(Ts)...>()).max();
|
||||
static constexpr auto data_size = Detail::integer_sequence_generate_array<size_t>(0, IntegerSequence<size_t, sizeof(Ts)...>()).max();
|
||||
static constexpr auto data_alignment = Detail::integer_sequence_generate_array<size_t>(0, IntegerSequence<size_t, alignof(Ts)...>()).max();
|
||||
using Helper = Detail::Variant<IndexType, 0, Ts...>;
|
||||
using VisitHelper = Detail::VisitImpl<IndexType, Ts...>;
|
||||
|
||||
|
|
Loading…
Reference in a new issue