mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
LibGUI: Return Optional<Node const&> from node_for_path()
This commit is contained in:
committed by
Andreas Kling
parent
188207ed79
commit
f899c19d41
Notes:
sideshowbarker
2024-07-17 14:28:02 +09:00
Author: https://github.com/alimpfard Commit: https://github.com/SerenityOS/serenity/commit/f899c19d41 Pull-request: https://github.com/SerenityOS/serenity/pull/13470 Reviewed-by: https://github.com/BenWiederhake ✅ Reviewed-by: https://github.com/creator1creeper1 Reviewed-by: https://github.com/sin-ack ✅
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user