aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/monlib/metrics/labels.h
diff options
context:
space:
mode:
authorilnurkh <ilnurkh@yandex-team.com>2023-10-16 20:19:28 +0300
committerilnurkh <ilnurkh@yandex-team.com>2023-10-16 20:52:22 +0300
commit23b4cd86157da8b9f0f8acd5ef46acfab39669db (patch)
tree09572627315c6029e0434702e8330c557476ff06 /library/cpp/monlib/metrics/labels.h
parent05d934cd8bfcf7ce4b6241d6bd2914cc776877f9 (diff)
downloadydb-23b4cd86157da8b9f0f8acd5ef46acfab39669db.tar.gz
Y_VERIFY_DEBUG->Y_DEBUG_ABORT_UNLESS at '-v ydb'
https://clubs.at.yandex-team.ru/arcadia/29404
Diffstat (limited to 'library/cpp/monlib/metrics/labels.h')
-rw-r--r--library/cpp/monlib/metrics/labels.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/monlib/metrics/labels.h b/library/cpp/monlib/metrics/labels.h
index 7e18e88161..1f86e7ffaf 100644
--- a/library/cpp/monlib/metrics/labels.h
+++ b/library/cpp/monlib/metrics/labels.h
@@ -141,12 +141,12 @@ namespace NMonitoring {
}
const ILabel* operator->() const noexcept {
- Y_VERIFY_DEBUG(Labels_);
+ Y_DEBUG_ABORT_UNLESS(Labels_);
return Labels_->Get(Idx_);
}
const ILabel& operator*() const noexcept {
- Y_VERIFY_DEBUG(Labels_);
+ Y_DEBUG_ABORT_UNLESS(Labels_);
return *Labels_->Get(Idx_);
}