about summary refs log tree commit diff
path: root/pkgs/games/deliantra/0003-swap.patch
blob: fa4e2bdec425b9fad31a8141d20f335509ded23a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- 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