From ceabd82ac8e796249feacf39c836034ed5e11c6d Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sat, 29 Nov 2025 15:01:34 -0500 Subject: chore: source code review and fixes. Signed-off-by: Amlal El Mahrouss --- src/kernel/KernelKit/UserMgr.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/kernel/KernelKit/UserMgr.h') diff --git a/src/kernel/KernelKit/UserMgr.h b/src/kernel/KernelKit/UserMgr.h index 3ce6254d..4f41ecdb 100644 --- a/src/kernel/KernelKit/UserMgr.h +++ b/src/kernel/KernelKit/UserMgr.h @@ -64,23 +64,23 @@ class User final { public: /// @brief Get software ring - const UserRingKind& Ring() noexcept; + const UserRingKind& Ring(); /// @brief Get user name - Char* Name() noexcept; + Char* Name(); /// @brief Is he a standard user? - Bool IsStdUser() noexcept; + Bool IsStdUser(); /// @brief Is she a super user? - Bool IsSuperUser() noexcept; + Bool IsSuperUser(); /// @brief Saves a password from the public key. - Bool Save(const UserPublicKey password) noexcept; + Bool Save(const UserPublicKey password); /// @brief Checks if a password matches the **password**. /// @param password the password to check. - Bool Login(const UserPublicKey password) noexcept; + Bool Login(const UserPublicKey password); private: UserRingKind mUserRing{UserRingKind::kRingStdUser}; -- cgit v1.2.3