diff options
author | Ben Wiederhake <BenWiederhake.GitHub@gmx.de> | 2023-01-02 16:57:12 +0100 |
---|---|---|
committer | Tim Flynn <trflynn89@pm.me> | 2023-01-02 20:27:20 -0500 |
commit | c2a900b8535df96c931b1c2b93765f5bca468fd7 (patch) | |
tree | c7f38ff230e4fd6d92d7e205f8bf37557b16e611 /Userland/Libraries/LibGfx/Rect.cpp | |
parent | 0bde4e66fade79a437eb1c718458cd33a83759c0 (diff) | |
download | serenity-c2a900b8535df96c931b1c2b93765f5bca468fd7.zip |
Everywhere: Remove unused includes of AK/StdLibExtras.h
These instances were detected by searching for files that include
AK/StdLibExtras.h, but don't match the regex:
\\b(abs|AK_REPLACED_STD_NAMESPACE|array_size|ceil_div|clamp|exchange|for
ward|is_constant_evaluated|is_power_of_two|max|min|mix|move|_RawPtr|RawP
tr|round_up_to_power_of_two|swap|to_underlying)\\b
(Without the linebreaks.)
This regex is pessimistic, so there might be more files that don't
actually use any "extra stdlib" functions.
In theory, one might use LibCPP to detect things like this
automatically, but let's do this one step after another.
Diffstat (limited to 'Userland/Libraries/LibGfx/Rect.cpp')
-rw-r--r-- | Userland/Libraries/LibGfx/Rect.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Userland/Libraries/LibGfx/Rect.cpp b/Userland/Libraries/LibGfx/Rect.cpp index 68bbfd4ead..7ab90853d8 100644 --- a/Userland/Libraries/LibGfx/Rect.cpp +++ b/Userland/Libraries/LibGfx/Rect.cpp @@ -5,7 +5,6 @@ */ #include <AK/DeprecatedString.h> -#include <AK/StdLibExtras.h> #include <AK/Vector.h> #include <LibGfx/Line.h> #include <LibGfx/Rect.h> |