mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-22 09:21:57 -05:00
LibDeviceTree: Remove DeviceTreeNodeView::child()
This (confusingly named) function will probably never be used, since you normally should know whether you are looking for a child or property.
This commit is contained in:
parent
4f6f65d1f9
commit
fe6d785e91
1 changed files with 0 additions and 1 deletions
|
@ -102,7 +102,6 @@ class DeviceTreeNodeView {
|
|||
public:
|
||||
bool has_property(StringView prop) const { return m_properties.contains(prop); }
|
||||
bool has_child(StringView child) const { return m_children.contains(child); }
|
||||
bool child(StringView name) const { return has_property(name) || has_child(name); }
|
||||
|
||||
Optional<DeviceTreeProperty> get_property(StringView prop) const { return m_properties.get(prop).copy(); }
|
||||
|
||||
|
|
Loading…
Reference in a new issue