Skip to content

Commit d8b96a4

Browse files
author
Nagasawa Hiroki
committed
Fix Access Control position in AVLTree
1 parent ecd560f commit d8b96a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

AVL Tree/AVLTree.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public class TreeNode<Key: Comparable, Payload> {
2929
internal var leftChild: Node?
3030
internal var rightChild: Node?
3131
fileprivate var height: Int
32-
weak fileprivate var parent: Node?
32+
fileprivate weak var parent: Node?
3333

3434
public init(key: Key, payload: Payload?, leftChild: Node?, rightChild: Node?, parent: Node?, height: Int) {
3535
self.key = key

0 commit comments

Comments
 (0)