mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-12 12:32:21 +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:
parent
14951b92ca
commit
d43a7eae54
Notes:
sideshowbarker
2024-07-17 02:23:25 +09:00
Author: https://github.com/timschumi
Commit: d43a7eae54
Pull-request: https://github.com/SerenityOS/serenity/pull/17406
Reviewed-by: https://github.com/linusg
193 changed files with 536 additions and 556 deletions
|
@ -11,7 +11,7 @@
|
|||
#include <AK/JsonValue.h>
|
||||
#include <AK/LexicalPath.h>
|
||||
#include <LibCompress/Gzip.h>
|
||||
#include <LibCore/File.h>
|
||||
#include <LibCore/DeprecatedFile.h>
|
||||
#include <LibCoredump/Reader.h>
|
||||
#include <signal.h>
|
||||
#include <string.h>
|
||||
|
@ -297,7 +297,7 @@ DeprecatedString Reader::resolve_object_path(StringView name) const
|
|||
// (e.g. UserspaceEmulator, LibSymbolication, Profiler, and DynamicLinker itself)
|
||||
// We should consider creating unified implementation in the future.
|
||||
|
||||
if (name.starts_with('/') || !Core::File::looks_like_shared_library(name)) {
|
||||
if (name.starts_with('/') || !Core::DeprecatedFile::looks_like_shared_library(name)) {
|
||||
return name;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue