mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-22 04:25:13 +00:00
AK: Fix Variant's copy constructor trying to delegate to the wrong base
This was forgotten in 4fdbac2
.
This commit is contained in:
parent
f248145e64
commit
06a1c27e4d
Notes:
sideshowbarker
2024-07-18 22:57:59 +09:00
Author: https://github.com/alimpfard Commit: https://github.com/SerenityOS/serenity/commit/06a1c27e4dd Pull-request: https://github.com/SerenityOS/serenity/pull/7021
1 changed files with 1 additions and 1 deletions
|
@ -216,7 +216,7 @@ public:
|
|||
friend struct Variant;
|
||||
|
||||
Variant(const Variant& old)
|
||||
: Detail::VariantConstructors<Ts, Variant<Ts...>>()...
|
||||
: Detail::MergeAndDeduplicatePacks<Detail::VariantConstructors<Ts, Variant<Ts...>>...>()
|
||||
, m_index(old.m_index)
|
||||
{
|
||||
Helper::copy_(old.m_index, old.m_data, m_data);
|
||||
|
|
Loading…
Add table
Reference in a new issue