From 87f5e0bcda03889f15904f8560b85c3f30f7873f Mon Sep 17 00:00:00 2001 From: sin-ack Date: Mon, 11 Jul 2022 20:53:39 +0000 Subject: [PATCH] LibCore: Add FIXME note about converting Core::Account to use StringView This prevents a bunch of utilities from using StringView for their arguments. --- Userland/Libraries/LibCore/Account.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Userland/Libraries/LibCore/Account.h b/Userland/Libraries/LibCore/Account.h index 5cbd7253ec..36eef9dbd5 100644 --- a/Userland/Libraries/LibCore/Account.h +++ b/Userland/Libraries/LibCore/Account.h @@ -32,6 +32,8 @@ public: PasswdOnly }; + // FIXME: Convert the methods below to take StringViews instead. + static ErrorOr self(Read options = Read::All); static ErrorOr from_name(char const* username, Read options = Read::All); static ErrorOr from_uid(uid_t uid, Read options = Read::All);