diff options
author | deshevoy <deshevoy@yandex-team.ru> | 2022-02-10 16:46:57 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:57 +0300 |
commit | 28148f76dbfcc644d96427d41c92f36cbf2fdc6e (patch) | |
tree | b83306b6e37edeea782e9eed673d89286c4fef35 /library/cpp/lfalloc/lf_allocX64.cpp | |
parent | e988f30484abe5fdeedcc7a5d3c226c01a21800c (diff) | |
download | ydb-28148f76dbfcc644d96427d41c92f36cbf2fdc6e.tar.gz |
Restoring authorship annotation for <deshevoy@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/lfalloc/lf_allocX64.cpp')
-rw-r--r-- | library/cpp/lfalloc/lf_allocX64.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/library/cpp/lfalloc/lf_allocX64.cpp b/library/cpp/lfalloc/lf_allocX64.cpp index 3d66197c85..2eb90761fe 100644 --- a/library/cpp/lfalloc/lf_allocX64.cpp +++ b/library/cpp/lfalloc/lf_allocX64.cpp @@ -115,13 +115,13 @@ extern "C" void* realloc(void* old_ptr, size_t new_size) { return new_ptr; } -extern "C" size_t malloc_usable_size(void* ptr) { - if (ptr == nullptr) { - return 0; - } - return LFGetSize(ptr); -} - +extern "C" size_t malloc_usable_size(void* ptr) { + if (ptr == nullptr) { + return 0; + } + return LFGetSize(ptr); +} + NMalloc::TMallocInfo NMalloc::MallocInfo() { NMalloc::TMallocInfo r; #if defined(LFALLOC_DBG) |