haiku/headers
X512 76ab85671d AutoDeleter: fix AutoDeleter size
C++ don't allow zero size class fields. If field with empty class field
is used, it's size will be 1 byte.

Create DeleteFunc instance as local variable at each use instead.

Fixes #16638.

Change-Id: Ifb76c45ea02e9fed014751542ee5f16f41e11d15
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3458
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2020-12-10 11:39:49 +00:00
..
build headers: Adjust GCC2 stdbool to be usable by modern GCC. 2020-10-10 16:36:59 -04:00
compatibility POSIX: asprintf and vasprintf are BSD/GNU extensions 2020-11-07 08:49:34 +00:00
config ARM64: Initial changes so we can compile GCC toolchain 2019-08-30 19:05:16 +00:00
cpp
glibc
libs agg: fix build. 2020-01-22 19:25:16 +01:00
os LayoutBuilder.h: Fix use after free 2020-11-19 07:17:29 +00:00
posix implement mlock(), munlock() 2020-12-03 07:58:05 +00:00
private AutoDeleter: fix AutoDeleter size 2020-12-10 11:39:49 +00:00
tools Fix #12799: Enable elf symbol patching for Haiku 2016-10-30 10:42:24 +01:00