aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/messagebus
diff options
context:
space:
mode:
authoreeight <eeight@yandex-team.ru>2022-05-11 10:40:18 +0300
committereeight <eeight@yandex-team.ru>2022-05-11 10:40:18 +0300
commit05a6fea78142058210511273b3ece21050ad137b (patch)
tree628e5702bd4d5597541b4302bd80af1295053aa4 /library/cpp/messagebus
parent3548eb45b1cf56fc87c6e908d3446b633f68d42e (diff)
downloadydb-05a6fea78142058210511273b3ece21050ad137b.tar.gz
IGNIETFERRO-1105 TAtomic -> std::atomic in util/generic/* and threadpool
ref:39a714b781c60dca9e3b946d870971076e14ab7c
Diffstat (limited to 'library/cpp/messagebus')
-rw-r--r--library/cpp/messagebus/use_count_checker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/cpp/messagebus/use_count_checker.cpp b/library/cpp/messagebus/use_count_checker.cpp
index c6243ea21f..32eee10431 100644
--- a/library/cpp/messagebus/use_count_checker.cpp
+++ b/library/cpp/messagebus/use_count_checker.cpp
@@ -7,7 +7,7 @@ TUseCountChecker::TUseCountChecker() {
}
TUseCountChecker::~TUseCountChecker() {
- TAtomicBase count = Counter.Val();
+ auto count = Counter.Val();
Y_VERIFY(count == 0, "must not release when count is not zero: %ld", (long)count);
}