summaryrefslogtreecommitdiffstats
path: root/util/system/sys_alloc.h
diff options
context:
space:
mode:
authorleo <[email protected]>2022-02-10 16:46:40 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:46:40 +0300
commit99609724f661f7e21d1cb08e8d80e87c3632fdb3 (patch)
tree49e222ea1c5804306084bb3ae065bb702625360f /util/system/sys_alloc.h
parent980edcd3304699edf9d4e4d6a656e585028e2a72 (diff)
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'util/system/sys_alloc.h')
-rw-r--r--util/system/sys_alloc.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/system/sys_alloc.h b/util/system/sys_alloc.h
index 1c23ea291d9..4221a28f8cc 100644
--- a/util/system/sys_alloc.h
+++ b/util/system/sys_alloc.h
@@ -12,11 +12,11 @@ inline void* y_allocate(size_t n) {
throw std::bad_alloc();
}
- return r;
+ return r;
}
inline void y_deallocate(void* p) {
- free(p);
+ free(p);
}
/**
@@ -39,5 +39,5 @@ inline void* y_reallocate(void* p, size_t new_sz) {
throw std::bad_alloc();
}
- return r;
+ return r;
}