diff options
author | eldritch horrors <pennae@lix.systems> | 2024-03-04 06:18:20 +0100 |
---|---|---|
committer | eldritch horrors <pennae@lix.systems> | 2024-03-04 07:11:25 +0100 |
commit | 001be527944665433a149add979b9a8139787ee6 (patch) | |
tree | a0375d20f37c1ac87e2ccd3ba4132c497d6d9057 /boehmgc-traceable_allocator-public.diff | |
parent | a089d8f5f6f96ea3f35790c36b6456e71f477879 (diff) |
Merge pull request #9430 from hercules-ci/remove-vlas
Fix stack overflow in `filter`
(cherry picked from commit cb7f25869daa2491eeac5fee49ad8f31b2218c15)
Change-Id: Ib90f97a9805bbb4d0e2741551d490f054fc0a675
Diffstat (limited to 'boehmgc-traceable_allocator-public.diff')
-rw-r--r-- | boehmgc-traceable_allocator-public.diff | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/boehmgc-traceable_allocator-public.diff b/boehmgc-traceable_allocator-public.diff new file mode 100644 index 000000000..903c707a6 --- /dev/null +++ b/boehmgc-traceable_allocator-public.diff @@ -0,0 +1,12 @@ +diff --git a/include/gc_allocator.h b/include/gc_allocator.h +index 597c7f13..587286be 100644 +--- a/include/gc_allocator.h ++++ b/include/gc_allocator.h +@@ -312,6 +312,7 @@ public: + + template<> + class traceable_allocator<void> { ++public: + typedef size_t size_type; + typedef ptrdiff_t difference_type; + typedef void* pointer; |