1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 07:27:45 +00:00

LibCore: Use OSError in get_password() return type

This commit is contained in:
Andreas Kling 2021-01-10 13:48:05 +01:00
parent a8681da4bf
commit 70fce5c4c7
4 changed files with 15 additions and 15 deletions

View file

@ -26,11 +26,12 @@
#pragma once
#include <AK/OSError.h>
#include <AK/Result.h>
#include <AK/String.h>
namespace Core {
Result<String, int> get_password(const StringView& prompt = "Password: ");
Result<String, OSError> get_password(const StringView& prompt = "Password: ");
}