Skip to content

Commit

Permalink
fix clang14 build (#3363)
Browse files Browse the repository at this point in the history
  • Loading branch information
fedor-miron authored Apr 1, 2024
1 parent d99ba57 commit e08ae5d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ydb/library/yql/public/udf/arrow/ut/array_builder_ut.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ Y_UNIT_TEST_SUITE(TArrayBuilderTest) {
struct TWithDtor {
int Payload;
std::shared_ptr<int> DestructorCallsCnt;
TWithDtor(int payload, std::shared_ptr<int> destructorCallsCnt):
Payload(payload), DestructorCallsCnt(std::move(destructorCallsCnt)) {
}
~TWithDtor() {
*DestructorCallsCnt = *DestructorCallsCnt + 1;
}
Expand Down

0 comments on commit e08ae5d

Please sign in to comment.