Commit 9d2e6edb authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

Internal: Don't throw when wrapping a null instance

parent 886ff51e
......@@ -53,8 +53,6 @@ class Internal
Internal( InternalPtr obj, Releaser releaser )
: m_obj{ obj, releaser }
if ( obj == nullptr )
throw std::runtime_error("Wrapping a NULL instance");
Internal(Releaser releaser)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment