mirror of
https://github.com/TartanLlama/optional.git
synced 2025-07-30 09:57:13 +02:00
Add missing return
This commit is contained in:
@ -910,6 +910,8 @@ public:
|
|||||||
this->m_value.~T();
|
this->m_value.~T();
|
||||||
this->m_has_value = false;
|
this->m_has_value = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO conditionally delete, check exception guarantee
|
// TODO conditionally delete, check exception guarantee
|
||||||
|
Reference in New Issue
Block a user