mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 09:51:57 -05:00
Userland: Remove unused includes of AK/Math.h
These instances were detected by searching for files that include Kernel/Debug.h, but don't match the regex: \\b(acos|acosh|asin|asinh|atan|atan2|atanh|cbrt|ceil|cos|cosh|E|exp|exp2 |fabs|fmod|hypot|log|log10|log2|NaN|Pi|pow|product_even|product_odd|rema inder|round_to|rsqrt|sin|sincos|sinh|sqrt|Sqrt1_2|Sqrt2|tan|tanh)\\b (Without the linebreaks.) This regex is pessimistic, so there might be more files that don't actually use any math functions. In theory, one might use LibCPP to detect things like this automatically, but let's do this one step after another.
This commit is contained in:
parent
8a331d4fa0
commit
345662d617
2 changed files with 0 additions and 2 deletions
|
@ -6,7 +6,6 @@
|
|||
*/
|
||||
|
||||
#include "SampleWidget.h"
|
||||
#include <AK/Math.h>
|
||||
#include <LibGUI/Painter.h>
|
||||
|
||||
SampleWidget::SampleWidget()
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <AK/Math.h>
|
||||
#include <LibGfx/Filters/ColorFilter.h>
|
||||
#include <LibGfx/Matrix3x3.h>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue