Fix TRY() with Option

This commit is contained in:
apio 2023-01-07 20:53:23 +01:00
parent fde1727218
commit c97f588d44
Signed by: apio
GPG Key ID: B8A7D06E42258954

View File

@ -113,6 +113,8 @@ template <typename T> class Option
explicit ErrorHandle()
{
}
friend class Option<T>;
};
Option(const ErrorHandle&) : m_has_value(false)