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