aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/malloc/api/malloc.h
diff options
context:
space:
mode:
authoriddqd <iddqd@yandex-team.ru>2022-02-10 16:49:46 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:46 +0300
commitff241e1daf76d79ed38015cdb76d55eb3a33ac27 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/malloc/api/malloc.h
parent07fce9c5f7771600d0b3d70e1f88fd8a7e164d85 (diff)
downloadydb-ff241e1daf76d79ed38015cdb76d55eb3a33ac27.tar.gz
Restoring authorship annotation for <iddqd@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/malloc/api/malloc.h')
-rw-r--r--library/cpp/malloc/api/malloc.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/library/cpp/malloc/api/malloc.h b/library/cpp/malloc/api/malloc.h
index bd9300aede..ebd545d6dd 100644
--- a/library/cpp/malloc/api/malloc.h
+++ b/library/cpp/malloc/api/malloc.h
@@ -1,7 +1,7 @@
#pragma once
#include <string.h>
-#include <util/system/compiler.h>
+#include <util/system/compiler.h>
namespace NMalloc {
struct TMallocInfo {
@@ -20,13 +20,13 @@ namespace NMalloc {
// this function should be implemented by malloc implementations
TMallocInfo MallocInfo();
-
- struct TAllocHeader {
- void* Block;
- size_t AllocSize;
- void Y_FORCE_INLINE Encode(void* block, size_t size, size_t signature) {
- Block = block;
- AllocSize = size | signature;
- }
- };
+
+ struct TAllocHeader {
+ void* Block;
+ size_t AllocSize;
+ void Y_FORCE_INLINE Encode(void* block, size_t size, size_t signature) {
+ Block = block;
+ AllocSize = size | signature;
+ }
+ };
}