mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +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:
committed by
Linus Groh
parent
f248145e64
commit
06a1c27e4d
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user