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/optional/operators.h | |
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/optional/operators.h')
-rw-r--r-- | library/cpp/balloc/optional/operators.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/library/cpp/balloc/optional/operators.h b/library/cpp/balloc/optional/operators.h index 6107d28a6e..3f9e7f4e35 100644 --- a/library/cpp/balloc/optional/operators.h +++ b/library/cpp/balloc/optional/operators.h @@ -1,15 +1,15 @@ -#pragma once - +#pragma once + #include <library/cpp/malloc/api/malloc.h> -#include <util/string/type.h> - -inline bool BallocEnabled() { - return !::NMalloc::MallocInfo().CheckParam("disable", true); -} - -inline void ThreadDisableBalloc() { - ::NMalloc::MallocInfo().SetParam("disable", "true"); -} +#include <util/string/type.h> + +inline bool BallocEnabled() { + return !::NMalloc::MallocInfo().CheckParam("disable", true); +} + +inline void ThreadDisableBalloc() { + ::NMalloc::MallocInfo().SetParam("disable", "true"); +} inline void ThreadEnableBalloc() { ::NMalloc::MallocInfo().SetParam("disable", "false"); |