We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92309cc commit acd8a4eCopy full SHA for acd8a4e
ydb/core/health_check/health_check_ut.cpp
@@ -338,7 +338,7 @@ Y_UNIT_TEST_SUITE(THealthCheckTest) {
338
339
void SetLongHostValue(TEvInterconnect::TEvNodesInfo::TPtr* ev) {
340
TString host(1000000, 'a');
341
- auto& pbRecord = (*ev)->Get()->Nodes;
+ auto& pbRecord = const_cast<TVector<TEvInterconnect::TNodeInfo>&>((*ev)->Get()->Nodes);
342
for (auto itIssue = pbRecord.begin(); itIssue != pbRecord.end(); ++itIssue) {
343
itIssue->Host = host;
344
}
0 commit comments