diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2024-07-17 18:28:03 +0200 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-07-17 18:28:03 +0200 |
| commit | 723f399a8b5d8d258de86f357b4d30bbeb2bd18c (patch) | |
| tree | 682c881cfa67ffb724bcbea45d4130dbc9413264 /src | |
| parent | d1564c0413d0a942806bcc57ed9848f397dd4bea (diff) | |
avoid calling node constructor in rtree pool too early
Diffstat (limited to 'src')
| -rw-r--r-- | src/RTree.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/RTree.h b/src/RTree.h index 6cf0292e..bbf9a486 100644 --- a/src/RTree.h +++ b/src/RTree.h @@ -37,7 +37,7 @@ template<typename T> struct rtree_pool final void free(T* pool); union node_u { - union { T data; }; + union { T data; char _empty = {}; }; node_u* next; }; |
