diff options
author | tender-bum <[email protected]> | 2022-02-10 16:50:01 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:50:01 +0300 |
commit | c78b06a63de7beec995c1007bc5332bdf3d75b69 (patch) | |
tree | 729de992758f40b85278d4abaad655be5dd68dbc /library/cpp/containers/intrusive_avl_tree/avltree.h | |
parent | 95ab23a39b5482a434361566cabdd5b0a433cb43 (diff) |
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/containers/intrusive_avl_tree/avltree.h')
-rw-r--r-- | library/cpp/containers/intrusive_avl_tree/avltree.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/containers/intrusive_avl_tree/avltree.h b/library/cpp/containers/intrusive_avl_tree/avltree.h index a58c63b07c5..124e6062615 100644 --- a/library/cpp/containers/intrusive_avl_tree/avltree.h +++ b/library/cpp/containers/intrusive_avl_tree/avltree.h @@ -188,10 +188,10 @@ public: } inline ~TAvlTree() noexcept { - Clear(); - } - - inline void Clear() noexcept { + Clear(); + } + + inline void Clear() noexcept { for (iterator it = Begin(); it != End();) { (it++)->TTreeItem::Unlink(); } |