mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
LibCore: Rename File to DeprecatedFile
As usual, this removes many unused includes and moves used includes further down the chain.
This commit is contained in:
committed by
Linus Groh
parent
14951b92ca
commit
d43a7eae54
@@ -8,7 +8,7 @@
|
||||
#include "../FileDB.h"
|
||||
#include "CppComprehensionEngine.h"
|
||||
#include <AK/LexicalPath.h>
|
||||
#include <LibCore/File.h>
|
||||
#include <LibCore/DeprecatedFile.h>
|
||||
#include <LibMain/Main.h>
|
||||
|
||||
static bool s_some_test_failed = false;
|
||||
@@ -77,7 +77,7 @@ int run_tests()
|
||||
|
||||
static void add_file(FileDB& filedb, DeprecatedString const& name)
|
||||
{
|
||||
auto file = Core::File::open(LexicalPath::join(TESTS_ROOT_DIR, name).string(), Core::OpenMode::ReadOnly);
|
||||
auto file = Core::DeprecatedFile::open(LexicalPath::join(TESTS_ROOT_DIR, name).string(), Core::OpenMode::ReadOnly);
|
||||
VERIFY(!file.is_error());
|
||||
filedb.add(name, DeprecatedString::copy(file.value()->read_all()));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user