mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 00:50:22 +00:00
AK: Annotate Trie functions as [[nodiscard]]
This commit is contained in:
parent
75e7c780e7
commit
56ab0da6a4
Notes:
sideshowbarker
2024-07-18 20:32:01 +09:00
Author: https://github.com/bgianfo Commit: https://github.com/SerenityOS/serenity/commit/56ab0da6a4e Pull-request: https://github.com/SerenityOS/serenity/pull/6234
1 changed files with 1 additions and 1 deletions
|
@ -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