From ae3ffdd521a7c7d1fd4b47f9bbfbfaf20da5a14d Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sat, 26 Nov 2022 12:18:30 +0100 Subject: AK: Make it possible to not `using` AK classes into the global namespace This patch adds the `USING_AK_GLOBALLY` macro which is enabled by default, but can be overridden by build flags. This is a step towards integrating Jakt and AK types. --- AK/JsonObjectSerializer.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'AK/JsonObjectSerializer.h') diff --git a/AK/JsonObjectSerializer.h b/AK/JsonObjectSerializer.h index 036d67efe2..fe705c2d71 100644 --- a/AK/JsonObjectSerializer.h +++ b/AK/JsonObjectSerializer.h @@ -262,4 +262,6 @@ ErrorOr> JsonArraySerializer::add_object( } +#if USING_AK_GLOBALLY using AK::JsonObjectSerializer; +#endif -- cgit v1.2.3