From cc89606ba8e4d357c61051b8451dce03c96b250e Mon Sep 17 00:00:00 2001 From: Ben Wiederhake Date: Mon, 1 Feb 2021 22:48:35 +0100 Subject: [PATCH] Everywhere: Remove unnecessary headers 3/4 Arbitrarily split up to make git bisect easier. These unnecessary #include's were found by combining an automated tool (which determined likely candidates) and some brain power (which decided whether the #include is also semantically superfluous). --- AK/Base64.h | 1 - AK/BinarySearch.h | 1 - AK/ByteBuffer.h | 2 -- AK/DoublyLinkedList.h | 1 - AK/Function.h | 1 - AK/Hex.h | 1 - AK/JsonPath.h | 1 - AK/NumberFormat.h | 1 - AK/Optional.h | 1 - AK/Singleton.h | 1 - 10 files changed, 11 deletions(-) diff --git a/AK/Base64.h b/AK/Base64.h index eecc119cff..06ef42dd04 100644 --- a/AK/Base64.h +++ b/AK/Base64.h @@ -27,7 +27,6 @@ #pragma once #include -#include #include #include diff --git a/AK/BinarySearch.h b/AK/BinarySearch.h index 1c998ce0a6..fc887714d8 100644 --- a/AK/BinarySearch.h +++ b/AK/BinarySearch.h @@ -26,7 +26,6 @@ #pragma once -#include #include #include diff --git a/AK/ByteBuffer.h b/AK/ByteBuffer.h index 6b6ec39a84..b4b05e87fc 100644 --- a/AK/ByteBuffer.h +++ b/AK/ByteBuffer.h @@ -27,11 +27,9 @@ #pragma once #include -#include #include #include #include -#include #include #include diff --git a/AK/DoublyLinkedList.h b/AK/DoublyLinkedList.h index f3dfe402e6..b838012b04 100644 --- a/AK/DoublyLinkedList.h +++ b/AK/DoublyLinkedList.h @@ -29,7 +29,6 @@ #include #include #include -#include namespace AK { diff --git a/AK/Function.h b/AK/Function.h index 4dab245d7a..9be7e9b725 100644 --- a/AK/Function.h +++ b/AK/Function.h @@ -28,7 +28,6 @@ #include #include #include -#include namespace AK { diff --git a/AK/Hex.h b/AK/Hex.h index d3833d8111..66503ed41e 100644 --- a/AK/Hex.h +++ b/AK/Hex.h @@ -28,7 +28,6 @@ #include #include -#include #include #include diff --git a/AK/JsonPath.h b/AK/JsonPath.h index f6c7432b44..d6c3a2acb9 100644 --- a/AK/JsonPath.h +++ b/AK/JsonPath.h @@ -26,7 +26,6 @@ #pragma once -#include #include #include #include diff --git a/AK/NumberFormat.h b/AK/NumberFormat.h index 0d30ec88f3..22ff2559f1 100644 --- a/AK/NumberFormat.h +++ b/AK/NumberFormat.h @@ -26,7 +26,6 @@ #pragma once -#include #include namespace AK { diff --git a/AK/Optional.h b/AK/Optional.h index 271f49f0cf..e36f5a0a7e 100644 --- a/AK/Optional.h +++ b/AK/Optional.h @@ -27,7 +27,6 @@ #pragma once #include -#include #include #include #include diff --git a/AK/Singleton.h b/AK/Singleton.h index 615171b855..27d38f654f 100644 --- a/AK/Singleton.h +++ b/AK/Singleton.h @@ -29,7 +29,6 @@ #include #include #include -#include #ifdef KERNEL # include #endif