mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 14:26:33 +01:00
14 lines
243 B
Diff
14 lines
243 B
Diff
--- a/include/util.h
|
|
+++ b/include/util.h
|
|
@@ -449,6 +449,11 @@ struct slice_allocator
|
|
{
|
|
p->~Tp ();
|
|
}
|
|
+
|
|
+ bool operator ==(const slice_allocator &) const
|
|
+ {
|
|
+ return true;
|
|
+ }
|
|
};
|
|
|
|
// basically a memory area, but refcounted
|