mirror of
https://github.com/SerenityOS/serenity
synced 2024-07-21 18:15:58 +00:00
AK: Annotate Trie functions as [[nodiscard]]
This commit is contained in:
parent
75e7c780e7
commit
56ab0da6a4
|
@ -201,7 +201,7 @@ public:
|
|||
ConstIterator begin() const { return ConstIterator(*this); }
|
||||
ConstIterator end() const { return ConstIterator::end(); }
|
||||
|
||||
bool is_empty() const { return m_children.is_empty(); }
|
||||
[[nodiscard]] bool is_empty() const { return m_children.is_empty(); }
|
||||
void clear() { m_children.clear(); }
|
||||
|
||||
BaseType deep_copy()
|
||||
|
|
Loading…
Reference in a new issue