Everywhere: Add missing includes for <AK/OwnPtr.h>

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.
This commit is contained in:
Gunnar Beutner 2021-05-19 14:35:34 +02:00 committed by Andreas Kling
parent 45a1a7e1e6
commit d954c11f66
Notes: sideshowbarker 2024-07-18 17:46:33 +09:00
12 changed files with 12 additions and 2 deletions

View file

@ -8,6 +8,7 @@
#include <AK/Forward.h> #include <AK/Forward.h>
#include <AK/HashMap.h> #include <AK/HashMap.h>
#include <AK/OwnPtr.h>
#include <AK/Types.h> #include <AK/Types.h>
namespace AK { namespace AK {

View file

@ -7,6 +7,7 @@
#include <LibTest/TestCase.h> #include <LibTest/TestCase.h>
#include <AK/HashMap.h> #include <AK/HashMap.h>
#include <AK/OwnPtr.h>
#include <AK/String.h> #include <AK/String.h>
TEST_CASE(construct) TEST_CASE(construct)

View file

@ -7,6 +7,7 @@
#include <AK/Assertions.h> #include <AK/Assertions.h>
#include <AK/ByteBuffer.h> #include <AK/ByteBuffer.h>
#include <AK/Demangle.h> #include <AK/Demangle.h>
#include <AK/OwnPtr.h>
#include <AK/StringBuilder.h> #include <AK/StringBuilder.h>
#include <LibC/sys/arch/i386/regs.h> #include <LibC/sys/arch/i386/regs.h>
#include <LibCore/ArgsParser.h> #include <LibCore/ArgsParser.h>

View file

@ -6,7 +6,7 @@
#include <AK/GenericLexer.h> #include <AK/GenericLexer.h>
#include <AK/HashTable.h> #include <AK/HashTable.h>
#include <AK/NonnullOwnPtr.h> #include <AK/OwnPtr.h>
#include <AK/SourceGenerator.h> #include <AK/SourceGenerator.h>
#include <AK/String.h> #include <AK/String.h>
#include <AK/StringBuilder.h> #include <AK/StringBuilder.h>

View file

@ -11,6 +11,7 @@
#include <AK/IntrusiveList.h> #include <AK/IntrusiveList.h>
#include <AK/Noncopyable.h> #include <AK/Noncopyable.h>
#include <AK/NonnullRefPtrVector.h> #include <AK/NonnullRefPtrVector.h>
#include <AK/OwnPtr.h>
#include <AK/String.h> #include <AK/String.h>
#include <AK/TypeCasts.h> #include <AK/TypeCasts.h>
#include <AK/Weakable.h> #include <AK/Weakable.h>

View file

@ -9,6 +9,7 @@
#include <AK/NonnullOwnPtrVector.h> #include <AK/NonnullOwnPtrVector.h>
#include <AK/NonnullRefPtr.h> #include <AK/NonnullRefPtr.h>
#include <AK/Optional.h> #include <AK/Optional.h>
#include <AK/OwnPtr.h>
#include <AK/Vector.h> #include <AK/Vector.h>
#include <LibDebug/Dwarf/DIE.h> #include <LibDebug/Dwarf/DIE.h>
#include <LibDebug/Dwarf/DwarfInfo.h> #include <LibDebug/Dwarf/DwarfInfo.h>

View file

@ -7,6 +7,7 @@
#pragma once #pragma once
#include <AK/Function.h> #include <AK/Function.h>
#include <AK/OwnPtr.h>
#include <AK/String.h> #include <AK/String.h>
#include <AK/WeakPtr.h> #include <AK/WeakPtr.h>
#include <LibCore/Object.h> #include <LibCore/Object.h>

View file

@ -8,6 +8,7 @@
#include <AK/Function.h> #include <AK/Function.h>
#include <AK/HashMap.h> #include <AK/HashMap.h>
#include <AK/OwnPtr.h>
#include <AK/String.h> #include <AK/String.h>
#include <LibGfx/Forward.h> #include <LibGfx/Forward.h>
#include <LibGfx/Typeface.h> #include <LibGfx/Typeface.h>

View file

@ -7,6 +7,7 @@
#pragma once #pragma once
#include <AK/Function.h> #include <AK/Function.h>
#include <AK/RefCounted.h>
#include <AK/RefPtr.h> #include <AK/RefPtr.h>
#include <AK/Vector.h> #include <AK/Vector.h>
#include <unistd.h> #include <unistd.h>

View file

@ -11,7 +11,7 @@
#include <AK/ByteBuffer.h> #include <AK/ByteBuffer.h>
#include <AK/Function.h> #include <AK/Function.h>
#include <AK/HashMap.h> #include <AK/HashMap.h>
#include <AK/NonnullOwnPtr.h> #include <AK/OwnPtr.h>
#include <AK/QuickSort.h> #include <AK/QuickSort.h>
#include <AK/Result.h> #include <AK/Result.h>
#include <AK/String.h> #include <AK/String.h>

View file

@ -10,6 +10,7 @@
#include <AK/GenericLexer.h> #include <AK/GenericLexer.h>
#include <AK/HashMap.h> #include <AK/HashMap.h>
#include <AK/LexicalPath.h> #include <AK/LexicalPath.h>
#include <AK/OwnPtr.h>
#include <AK/SourceGenerator.h> #include <AK/SourceGenerator.h>
#include <AK/StringBuilder.h> #include <AK/StringBuilder.h>
#include <LibCore/ArgsParser.h> #include <LibCore/ArgsParser.h>

View file

@ -6,6 +6,7 @@
#include <AK/Debug.h> #include <AK/Debug.h>
#include <AK/MappedFile.h> #include <AK/MappedFile.h>
#include <AK/OwnPtr.h>
#include <AK/QuickSort.h> #include <AK/QuickSort.h>
#include <AK/Vector.h> #include <AK/Vector.h>
#include <LibCore/ArgsParser.h> #include <LibCore/ArgsParser.h>