aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/balloc/optional/operators.h
diff options
context:
space:
mode:
authorivanmorozov <ivanmorozov@yandex-team.ru>2022-02-10 16:47:33 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:33 +0300
commitcba5d9a444e2cfe105f55ccda66cd21d50440017 (patch)
tree79983e83d1a91aebeb1999338090eec69e24cc33 /library/cpp/balloc/optional/operators.h
parenteb540cc7a103419462d0cc870ca403966e2194c6 (diff)
downloadydb-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.h22
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");