aboutsummaryrefslogtreecommitdiff
path: root/boehmgc-traceable_allocator-public.diff
diff options
context:
space:
mode:
authorjade <lix@jade.fyi>2024-06-10 04:48:12 +0000
committerGerrit Code Review <gerrit@localhost>2024-06-10 04:48:12 +0000
commita986a8dfa1c5896de8acfc603ff71a51f629bdc8 (patch)
tree7cfaca8fa3415060e0fc450f452eaa1569722de9 /boehmgc-traceable_allocator-public.diff
parent7dfa2a761ef8856454d8f63eda27edb8984bdc98 (diff)
parent8a09465c3acea9736be1aeb568346ea789cdec58 (diff)
Merge "Revert "flake: update nixpkgs pin 23.11->24.05 (+ boehmgc compat changes)"" into main
Diffstat (limited to 'boehmgc-traceable_allocator-public.diff')
-rw-r--r--boehmgc-traceable_allocator-public.diff12
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..a0c51ef4d
--- /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;