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/Array.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'AK/Array.h') diff --git a/AK/Array.h b/AK/Array.h index d4aa6791b8..640de1bbac 100644 --- a/AK/Array.h +++ b/AK/Array.h @@ -111,5 +111,7 @@ constexpr static auto iota_array(T const offset = {}) } +#if USING_AK_GLOBALLY using AK::Array; using AK::iota_array; +#endif -- cgit v1.2.3