From c4f68b0c88d617de6570f60a819fffdbbb98c390 Mon Sep 17 00:00:00 2001 From: Michal Jarzabek Date: Tue, 3 Nov 2015 20:29:49 +0000 Subject: [PATCH] common/buffer.h: removed unneeded list destructor Signed-off-by: Michal Jarzabek --- src/include/buffer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/buffer.h b/src/include/buffer.h index f28bc5e86a778..c2e4d27d84f58 100644 --- a/src/include/buffer.h +++ b/src/include/buffer.h @@ -360,7 +360,7 @@ public: append_buffer = buffer::create(prealloc); append_buffer.set_length(0); // unused, so far. } - ~list() {} + list(const list& other) : _buffers(other._buffers), _len(other._len), _memcopy_count(other._memcopy_count), last_p(this) { make_shareable(); -- 2.39.5