diff --git a/AK/OwnPtr.h b/AK/OwnPtr.h index 874f468751..67a19578db 100644 --- a/AK/OwnPtr.h +++ b/AK/OwnPtr.h @@ -46,6 +46,10 @@ public: template OwnPtr& operator=(const OwnPtr&) = delete; + template + OwnPtr(const NonnullOwnPtr&) = delete; + template + OwnPtr& operator=(const NonnullOwnPtr&) = delete; template OwnPtr(const RefPtr&) = delete; template