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 eecc119cff6..06ef42dd04b 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 1c998ce0a63..fc887714d87 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 6b6ec39a849..b4b05e87fc5 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 f3dfe402e64..b838012b04c 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 4dab245d7a6..9be7e9b7258 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 d3833d81117..66503ed41e1 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 f6c7432b441..d6c3a2acb94 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 0d30ec88f32..22ff2559f1a 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 271f49f0cfc..e36f5a0a7e0 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 615171b8558..27d38f654f3 100644 --- a/AK/Singleton.h +++ b/AK/Singleton.h @@ -29,7 +29,6 @@ #include #include #include -#include #ifdef KERNEL # include #endif