mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:37:35 +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
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
Add a link
Reference in a new issue