From f96a3c002aa994d5811a677bd93553ccf9a8abf1 Mon Sep 17 00:00:00 2001 From: Ali Mohammad Pur Date: Tue, 13 Dec 2022 10:29:30 +0330 Subject: Everywhere: Stop shoving things into ::std and mentioning them as such Note that this still keeps the old behaviour of putting things in std by default on serenity so the tools can be happy, but if USING_AK_GLOBALLY is unset, AK behaves like a good citizen and doesn't try to put things in the ::std namespace. std::nothrow_t and its friends get to stay because I'm being told that compilers assume things about them and I can't yeet them into a different namespace...for now. --- AK/OwnPtr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'AK/OwnPtr.h') diff --git a/AK/OwnPtr.h b/AK/OwnPtr.h index 8de5eeb37d..ece4c34391 100644 --- a/AK/OwnPtr.h +++ b/AK/OwnPtr.h @@ -97,7 +97,7 @@ public: OwnPtr& operator=(T* ptr) = delete; - OwnPtr& operator=(std::nullptr_t) + OwnPtr& operator=(nullptr_t) { clear(); return *this; -- cgit v1.2.3