diff options
author | ivanmorozov <ivanmorozov@yandex-team.ru> | 2022-02-10 16:47:33 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:47:33 +0300 |
commit | cba5d9a444e2cfe105f55ccda66cd21d50440017 (patch) | |
tree | 79983e83d1a91aebeb1999338090eec69e24cc33 /library/cpp/balloc/balloc.cpp | |
parent | eb540cc7a103419462d0cc870ca403966e2194c6 (diff) | |
download | ydb-cba5d9a444e2cfe105f55ccda66cd21d50440017.tar.gz |
Restoring authorship annotation for <ivanmorozov@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/balloc/balloc.cpp')
-rw-r--r-- | library/cpp/balloc/balloc.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/balloc/balloc.cpp b/library/cpp/balloc/balloc.cpp index fab489db4c..f27ae2ee9a 100644 --- a/library/cpp/balloc/balloc.cpp +++ b/library/cpp/balloc/balloc.cpp @@ -72,7 +72,7 @@ namespace NBalloc { tls.Mode = Disabled; #endif } - + static void Y_FORCE_INLINE Enable() { tls.Mode = ToBeEnabled; } @@ -278,10 +278,10 @@ extern "C" bool IsOwnedByBalloc(void* ptr) { return NBalloc::IsOwnedByBalloc(ptr); } -extern "C" bool BallocDisabled() { - return NBalloc::IsDisabled(); -} - +extern "C" bool BallocDisabled() { + return NBalloc::IsDisabled(); +} + extern "C" void DisableBalloc() { NBalloc::Disable(); } |