Fix return missing in move operator=
This commit is contained in:
parent
adebe36e0d
commit
01a26787e3
1 changed files with 1 additions and 0 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue