aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/sys_alloc.h
diff options
context:
space:
mode:
authorlsurn <lsurn@yandex-team.ru>2022-02-10 16:49:33 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:33 +0300
commit45e70bb2432018a4704845621cd9ddd2ceab6ffb (patch)
treea152f2e39b9786afe16c2a9230f7c4b12a59e4ee /util/system/sys_alloc.h
parent47a7e7b29636bfb2deb1df5f92363b3c75229c95 (diff)
downloadydb-45e70bb2432018a4704845621cd9ddd2ceab6ffb.tar.gz
Restoring authorship annotation for <lsurn@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/system/sys_alloc.h')
-rw-r--r--util/system/sys_alloc.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/util/system/sys_alloc.h b/util/system/sys_alloc.h
index 4221a28f8c..be480742fa 100644
--- a/util/system/sys_alloc.h
+++ b/util/system/sys_alloc.h
@@ -13,12 +13,12 @@ inline void* y_allocate(size_t n) {
}
return r;
-}
-
+}
+
inline void y_deallocate(void* p) {
free(p);
-}
-
+}
+
/**
* Behavior of realloc from C++99 to C++11 changed (http://www.cplusplus.com/reference/cstdlib/realloc/).
*
@@ -40,4 +40,4 @@ inline void* y_reallocate(void* p, size_t new_sz) {
}
return r;
-}
+}