From 06a1c27e4ddb9f14244dd5f75fc0d19d0d9eceaa Mon Sep 17 00:00:00 2001 From: Ali Mohammad Pur Date: Tue, 11 May 2021 18:18:17 +0430 Subject: [PATCH] AK: Fix Variant's copy constructor trying to delegate to the wrong base This was forgotten in 4fdbac2. --- AK/Variant.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AK/Variant.h b/AK/Variant.h index 0682ea6a1f..59483fc176 100644 --- a/AK/Variant.h +++ b/AK/Variant.h @@ -216,7 +216,7 @@ public: friend struct Variant; Variant(const Variant& old) - : Detail::VariantConstructors>()... + : Detail::MergeAndDeduplicatePacks>...>() , m_index(old.m_index) { Helper::copy_(old.m_index, old.m_data, m_data);