File tree 1 file changed +3
-3
lines changed
ydb/core/tx/columnshard/counters
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ void TPortionIndexStats::RemovePortion(const NOlap::TPortionInfo& portion) {
25
25
26
26
{
27
27
auto findClass = TotalStats.find (portionClass);
28
- AFL_VERIFY (! findClass. IsEnd ())(" path_id" , portion.GetPathId ());
28
+ AFL_VERIFY (findClass != TotalStats. end ())(" path_id" , portion.GetPathId ());
29
29
findClass->second .RemovePortion (portion);
30
30
if (findClass->second .IsEmpty ()) {
31
31
TotalStats.erase (findClass);
@@ -34,9 +34,9 @@ void TPortionIndexStats::RemovePortion(const NOlap::TPortionInfo& portion) {
34
34
35
35
{
36
36
auto findPathId = StatsByPathId.find (portion.GetPathId ());
37
- AFL_VERIFY (! findPathId. IsEnd ())(" path_id" , portion.GetPathId ());
37
+ AFL_VERIFY (findPathId != StatsByPathId. end ())(" path_id" , portion.GetPathId ());
38
38
auto findClass = findPathId->second .find (portionClass);
39
- AFL_VERIFY (! findClass. IsEnd ())(" path_id" , portion.GetPathId ());
39
+ AFL_VERIFY (findClass != findPathId-> second . end ())(" path_id" , portion.GetPathId ());
40
40
findClass->second .RemovePortion (portion);
41
41
if (findClass->second .IsEmpty ()) {
42
42
findPathId->second .erase (findClass);
You can’t perform that action at this time.
0 commit comments