Skip to content

Commit f9a6653

Browse files
committed
Workaround capture structured binding issue for clang14
1 parent 71e39db commit f9a6653

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

ydb/core/tx/columnshard/columnshard.cpp

+5-1
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,11 @@ void TColumnShard::FillColumnTableStats(const TActorContext& ctx, std::unique_pt
376376
FillTxTableStats(tableStats);
377377
ConfigureStats(*columnStats, tableStats);
378378

379-
LOG_S_TRACE("Add stats for table, tableLocalID=" << tableLocalID);
379+
{
380+
// Workaround "reference to local binding declared in enclousing function" issue for clang14
381+
ui64 id = tableLocalID;
382+
LOG_S_TRACE("Add stats for table, tableLocalID=" << id);
383+
}
380384
}
381385
}
382386

0 commit comments

Comments
 (0)