diff options
author | tobo <tobo@yandex-team.ru> | 2022-02-10 16:47:27 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:47:27 +0300 |
commit | 7fe839092527589b38f014d854c51565b3c1adfa (patch) | |
tree | 309e97022d3530044b712b8f71318c78faf7856e /library/cpp/malloc | |
parent | d0d68c395c10da4cb56a1c845504570a04d7893e (diff) | |
download | ydb-7fe839092527589b38f014d854c51565b3c1adfa.tar.gz |
Restoring authorship annotation for <tobo@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/malloc')
-rw-r--r-- | library/cpp/malloc/api/malloc.cpp | 6 | ||||
-rw-r--r-- | library/cpp/malloc/jemalloc/malloc-info.cpp | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/malloc/api/malloc.cpp b/library/cpp/malloc/api/malloc.cpp index eed1c58a38..a319878b25 100644 --- a/library/cpp/malloc/api/malloc.cpp +++ b/library/cpp/malloc/api/malloc.cpp @@ -4,15 +4,15 @@ #include "malloc.h" namespace { - bool SetEmptyParam(const char*, const char*) { + bool SetEmptyParam(const char*, const char*) { return false; } - const char* GetEmptyParam(const char*) { + const char* GetEmptyParam(const char*) { return nullptr; } - bool CheckEmptyParam(const char*, bool defaultValue) { + bool CheckEmptyParam(const char*, bool defaultValue) { return defaultValue; } } diff --git a/library/cpp/malloc/jemalloc/malloc-info.cpp b/library/cpp/malloc/jemalloc/malloc-info.cpp index 2643ca4766..655515b8c2 100644 --- a/library/cpp/malloc/jemalloc/malloc-info.cpp +++ b/library/cpp/malloc/jemalloc/malloc-info.cpp @@ -16,7 +16,7 @@ TMallocInfo NMalloc::MallocInfo() { #include <contrib/libs/jemalloc/include/jemalloc/jemalloc.h> namespace { - bool JESetParam(const char* param, const char*) { + bool JESetParam(const char* param, const char*) { if (param) { if (strcmp(param, "j:reset_epoch") == 0) { uint64_t epoch = 1; |