summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibCore/File.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibCore/File.h')
-rw-r--r--Userland/Libraries/LibCore/File.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibCore/File.h b/Userland/Libraries/LibCore/File.h
index 233e9c2364..6ac18fd95c 100644
--- a/Userland/Libraries/LibCore/File.h
+++ b/Userland/Libraries/LibCore/File.h
@@ -47,7 +47,7 @@ public:
bool looks_like_shared_library() const;
static bool looks_like_shared_library(DeprecatedString const& filename);
- static bool exists(DeprecatedString const& filename);
+ static bool exists(StringView filename);
static ErrorOr<size_t> size(DeprecatedString const& filename);
static DeprecatedString current_working_directory();
static DeprecatedString absolute_path(DeprecatedString const& path);