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
commit980edcd3304699edf9d4e4d6a656e585028e2a72 (patch)
tree139f47f3911484ae9af0eb347b1a88bd6c4bb35f /util/system/sys_alloc.h
parentb036a557f285146e5e35d4213e29a094ab907bcf (diff)
Restoring authorship annotation for <[email protected]>. Commit 1 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 4221a28f8cc..1c23ea291d9 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;
}