diff options
Diffstat (limited to 'Userland/Libraries/LibCore/GetPassword.h')
-rw-r--r-- | Userland/Libraries/LibCore/GetPassword.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Userland/Libraries/LibCore/GetPassword.h b/Userland/Libraries/LibCore/GetPassword.h index 6e1e17ed26..cdf703451e 100644 --- a/Userland/Libraries/LibCore/GetPassword.h +++ b/Userland/Libraries/LibCore/GetPassword.h @@ -6,13 +6,11 @@ #pragma once -#include <AK/OSError.h> -#include <AK/Result.h> -#include <AK/String.h> +#include <AK/Error.h> #include <LibCore/SecretString.h> namespace Core { -Result<SecretString, OSError> get_password(const StringView& prompt = "Password: "sv); +ErrorOr<SecretString> get_password(StringView prompt = "Password: "sv); } |