Skip to content

Commit acd8a4e

Browse files
committed
Fix build
1 parent 92309cc commit acd8a4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ydb/core/health_check/health_check_ut.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ Y_UNIT_TEST_SUITE(THealthCheckTest) {
338338

339339
void SetLongHostValue(TEvInterconnect::TEvNodesInfo::TPtr* ev) {
340340
TString host(1000000, 'a');
341-
auto& pbRecord = (*ev)->Get()->Nodes;
341+
auto& pbRecord = const_cast<TVector<TEvInterconnect::TNodeInfo>&>((*ev)->Get()->Nodes);
342342
for (auto itIssue = pbRecord.begin(); itIssue != pbRecord.end(); ++itIssue) {
343343
itIssue->Host = host;
344344
}

0 commit comments

Comments
 (0)