AK: Annotate Trie functions as [[nodiscard]]

This commit is contained in:
Brian Gianforcaro 2021-04-11 01:31:50 -07:00 committed by Andreas Kling
parent 75e7c780e7
commit 56ab0da6a4

View file

@ -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()