Previously <AK/Function.h> also included <AK/OwnPtr.h>. That's about to change though. This patch fixes a few build problems that will occur when that change happens.
@@ -8,6 +8,7 @@
#include <AK/Forward.h>
#include <AK/HashMap.h>
+#include <AK/OwnPtr.h>
#include <AK/Types.h>
namespace AK {
@@ -7,6 +7,7 @@
#include <LibTest/TestCase.h>
#include <AK/String.h>
TEST_CASE(construct)
#include <AK/Assertions.h>
#include <AK/ByteBuffer.h>
#include <AK/Demangle.h>
#include <AK/StringBuilder.h>
#include <LibC/sys/arch/i386/regs.h>
#include <LibCore/ArgsParser.h>
@@ -6,7 +6,7 @@
#include <AK/GenericLexer.h>
#include <AK/HashTable.h>
-#include <AK/NonnullOwnPtr.h>
#include <AK/SourceGenerator.h>
@@ -11,6 +11,7 @@
#include <AK/IntrusiveList.h>
#include <AK/Noncopyable.h>
#include <AK/NonnullRefPtrVector.h>
#include <AK/TypeCasts.h>
#include <AK/Weakable.h>
@@ -9,6 +9,7 @@
#include <AK/NonnullOwnPtrVector.h>
#include <AK/NonnullRefPtr.h>
#include <AK/Optional.h>
#include <AK/Vector.h>
#include <LibDebug/Dwarf/DIE.h>
#include <LibDebug/Dwarf/DwarfInfo.h>
#pragma once
#include <AK/Function.h>
#include <AK/WeakPtr.h>
#include <LibCore/Object.h>
#include <LibGfx/Forward.h>
#include <LibGfx/Typeface.h>
+#include <AK/RefCounted.h>
#include <AK/RefPtr.h>
#include <unistd.h>
@@ -11,7 +11,7 @@
#include <AK/QuickSort.h>
#include <AK/Result.h>
@@ -10,6 +10,7 @@
#include <AK/LexicalPath.h>
@@ -6,6 +6,7 @@
#include <AK/Debug.h>
#include <AK/MappedFile.h>