diff options
| author | sandello <[email protected]> | 2022-02-10 16:49:52 +0300 | 
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:49:52 +0300 | 
| commit | 9541fc30d6f0877db9ff199a16f7fc2505d46a5c (patch) | |
| tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/malloc | |
| parent | 0cdbcf332f1f329f0a3d6759462ad71e7867ac08 (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/malloc')
| -rw-r--r-- | library/cpp/malloc/api/malloc.cpp | 8 | ||||
| -rw-r--r-- | library/cpp/malloc/api/malloc.h | 6 | 
2 files changed, 7 insertions, 7 deletions
| diff --git a/library/cpp/malloc/api/malloc.cpp b/library/cpp/malloc/api/malloc.cpp index 8bba9447222..eed1c58a383 100644 --- a/library/cpp/malloc/api/malloc.cpp +++ b/library/cpp/malloc/api/malloc.cpp @@ -9,9 +9,9 @@ namespace {      }      const char* GetEmptyParam(const char*) { -        return nullptr;  -    }  -  +        return nullptr; +    } +      bool CheckEmptyParam(const char*, bool defaultValue) {          return defaultValue;      } @@ -23,7 +23,7 @@ namespace NMalloc {      TMallocInfo::TMallocInfo()          : Name()          , SetParam(SetEmptyParam) -        , GetParam(GetEmptyParam)  +        , GetParam(GetEmptyParam)          , CheckParam(CheckEmptyParam)      {      } diff --git a/library/cpp/malloc/api/malloc.h b/library/cpp/malloc/api/malloc.h index b8c7c33e57f..ebd545d6dd9 100644 --- a/library/cpp/malloc/api/malloc.h +++ b/library/cpp/malloc/api/malloc.h @@ -8,10 +8,10 @@ namespace NMalloc {          TMallocInfo();          const char* Name; -  +          bool (*SetParam)(const char* param, const char* value); -        const char* (*GetParam)(const char* param);  -  +        const char* (*GetParam)(const char* param); +          bool (*CheckParam)(const char* param, bool defaultValue);      }; | 
