diff --git a/luna/include/luna/Option.h b/luna/include/luna/Option.h index d8ca65f2..db68653b 100644 --- a/luna/include/luna/Option.h +++ b/luna/include/luna/Option.h @@ -113,6 +113,8 @@ template class Option explicit ErrorHandle() { } + + friend class Option; }; Option(const ErrorHandle&) : m_has_value(false)