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))