From 84c8484bb031e43cbd3b396832426349ed35972b Mon Sep 17 00:00:00 2001 From: Travis Date: Sat, 4 Mar 2017 12:37:02 -0600 Subject: [PATCH] have roaring clone() return the clone (as opposed to the original) --- roaring/roaring.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roaring/roaring.go b/roaring/roaring.go index 1cf271e89..2a0dc57d1 100644 --- a/roaring/roaring.go +++ b/roaring/roaring.go @@ -1057,7 +1057,7 @@ func (c *container) clone() *container { copy(other.bitmap, c.bitmap) } - return c + return other } // WriteTo writes c to w.