aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/balloc/optional/operators.h
diff options
context:
space:
mode:
authorivanmorozov <ivanmorozov@yandex-team.ru>2022-02-10 16:47:34 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:34 +0300
commit464ba3814a83db4f2d5327393b0b6eaf0c86bfd7 (patch)
treec0748b5dcbade83af788c0abfa89c0383d6b779c /library/cpp/balloc/optional/operators.h
parentcba5d9a444e2cfe105f55ccda66cd21d50440017 (diff)
downloadydb-464ba3814a83db4f2d5327393b0b6eaf0c86bfd7.tar.gz
Restoring authorship annotation for <ivanmorozov@yandex-team.ru>. Commit 2 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 3f9e7f4e35..6107d28a6e 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");