From 6b780add4a066c7e08ec91d90b7c2434e26c5ee0 Mon Sep 17 00:00:00 2001 From: Alastair Robertson Date: Tue, 12 Dec 2023 09:51:00 -0800 Subject: [PATCH] Integration Tests: Fix thrift_unions tests With a recent Thrift update, we now must also define a destructor for this type. --- test/integration/thrift_unions.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/test/integration/thrift_unions.toml b/test/integration/thrift_unions.toml index c7aa82e..5f0ba1f 100644 --- a/test/integration/thrift_unions.toml +++ b/test/integration/thrift_unions.toml @@ -16,6 +16,7 @@ raw_definitions = ''' namespace cpp2 { void StaticUnion::__fbthrift_clear() {} void DynamicUnion::__fbthrift_clear() {} + DynamicUnion::~DynamicUnion() {} } '''