From 01a26787e3c2cb42db16fe7458dab5598c8c7215 Mon Sep 17 00:00:00 2001 From: Jean Pierre Cimalando Date: Wed, 30 Sep 2020 01:41:22 +0200 Subject: [PATCH] Fix return missing in move operator= --- src/sfizz/BufferPool.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sfizz/BufferPool.h b/src/sfizz/BufferPool.h index 2d057edf..b9971fcf 100644 --- a/src/sfizz/BufferPool.h +++ b/src/sfizz/BufferPool.h @@ -36,6 +36,7 @@ public: this->value = other.value; this->available = other.available; other.available = nullptr; + return *this; } SpanHolder(T&& value, int* available) : value(std::forward(value))