summaryrefslogtreecommitdiffstats
path: root/library/cpp/containers/intrusive_avl_tree/avltree.h
diff options
context:
space:
mode:
authortender-bum <[email protected]>2022-02-10 16:50:01 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:50:01 +0300
commit4aef354b224559d2b031487a10d4f5cc6e82e95a (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/containers/intrusive_avl_tree/avltree.h
parentc78b06a63de7beec995c1007bc5332bdf3d75b69 (diff)
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/containers/intrusive_avl_tree/avltree.h')
-rw-r--r--library/cpp/containers/intrusive_avl_tree/avltree.h8
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 124e6062615..a58c63b07c5 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();
}