From e08ae5dc76b6751e3a0881fcd93c4055b515b8e5 Mon Sep 17 00:00:00 2001 From: Fiodar Miron <61616792+fedor-miron@users.noreply.github.com> Date: Mon, 1 Apr 2024 17:39:00 +0200 Subject: [PATCH] fix clang14 build (#3363) --- ydb/library/yql/public/udf/arrow/ut/array_builder_ut.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ydb/library/yql/public/udf/arrow/ut/array_builder_ut.cpp b/ydb/library/yql/public/udf/arrow/ut/array_builder_ut.cpp index 997940ade29e..074af4da90f9 100644 --- a/ydb/library/yql/public/udf/arrow/ut/array_builder_ut.cpp +++ b/ydb/library/yql/public/udf/arrow/ut/array_builder_ut.cpp @@ -65,6 +65,9 @@ Y_UNIT_TEST_SUITE(TArrayBuilderTest) { struct TWithDtor { int Payload; std::shared_ptr DestructorCallsCnt; + TWithDtor(int payload, std::shared_ptr destructorCallsCnt): + Payload(payload), DestructorCallsCnt(std::move(destructorCallsCnt)) { + } ~TWithDtor() { *DestructorCallsCnt = *DestructorCallsCnt + 1; }