summaryrefslogtreecommitdiff
path: root/AK/String.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-02-14 21:41:10 +0100
committerAndreas Kling <kling@serenityos.org>2020-02-14 23:31:18 +0100
commit3bbf4610d24c0dd8f8f1d0b962259c1f7e067a2d (patch)
tree21130d15a28031b759ef8c73751c07e8881240ea /AK/String.h
parent8249e666fcaf6a4c1f4856443f40c67f0f3704c2 (diff)
downloadserenity-3bbf4610d24c0dd8f8f1d0b962259c1f7e067a2d.zip
AK: Add a forward declaration header
You can now #include <AK/Forward.h> to get most of the AK types as forward declarations. Header dependency explosion is one of the main contributors to compile times at the moment, so this is a step towards smaller include graphs.
Diffstat (limited to 'AK/String.h')
-rw-r--r--AK/String.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/AK/String.h b/AK/String.h
index 71c4a48293..fea82b40b0 100644
--- a/AK/String.h
+++ b/AK/String.h
@@ -26,12 +26,11 @@
#pragma once
-#include <AK/ByteBuffer.h>
+#include <AK/Forward.h>
#include <AK/RefPtr.h>
#include <AK/StringImpl.h>
#include <AK/StringView.h>
#include <AK/Traits.h>
-#include <AK/Vector.h>
namespace AK {