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
Notes: sideshowbarker 2024-07-17 14:28:02 +09:00
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;