Fix TRY() with Option
This commit is contained in:
parent
fde1727218
commit
c97f588d44
@ -113,6 +113,8 @@ template <typename T> class Option
|
||||
explicit ErrorHandle()
|
||||
{
|
||||
}
|
||||
|
||||
friend class Option<T>;
|
||||
};
|
||||
|
||||
Option(const ErrorHandle&) : m_has_value(false)
|
||||
|
Loading…
Reference in New Issue
Block a user