mirror of
https://github.com/TartanLlama/optional.git
synced 2025-09-29 22:50:54 +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