Fix return missing in move operator=

This commit is contained in:
Jean Pierre Cimalando 2020-09-30 01:41:22 +02:00
parent adebe36e0d
commit 01a26787e3

View file

@ -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<T>(value))