diff options
author | Andreas Kling <kling@serenityos.org> | 2020-02-14 21:41:10 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-02-14 23:31:18 +0100 |
commit | 3bbf4610d24c0dd8f8f1d0b962259c1f7e067a2d (patch) | |
tree | 21130d15a28031b759ef8c73751c07e8881240ea /AK/JsonValue.h | |
parent | 8249e666fcaf6a4c1f4856443f40c67f0f3704c2 (diff) | |
download | serenity-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/JsonValue.h')
-rw-r--r-- | AK/JsonValue.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/AK/JsonValue.h b/AK/JsonValue.h index a109b671be..c0780e331c 100644 --- a/AK/JsonValue.h +++ b/AK/JsonValue.h @@ -26,6 +26,7 @@ #pragma once +#include <AK/Forward.h> #include <AK/IPv4Address.h> #include <AK/Optional.h> #include <AK/String.h> @@ -33,10 +34,6 @@ namespace AK { -class JsonArray; -class JsonObject; -class StringBuilder; - class JsonValue { public: enum class Type { |