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

LibGUI: Return Optional<Node const&> from node_for_path()

This commit is contained in:
Ali Mohammad Pur 2022-04-03 18:45:23 +04:30 committed by Andreas Kling
parent 188207ed79
commit f899c19d41
2 changed files with 18 additions and 18 deletions

View file

@ -151,7 +151,7 @@ private:
String name_for_uid(uid_t) const;
String name_for_gid(gid_t) const;
Node const* node_for_path(String const&) const;
Optional<Node const&> node_for_path(String const&) const;
HashMap<uid_t, String> m_user_names;
HashMap<gid_t, String> m_group_names;