Skip to content

Commit 6ed6ed0

Browse files
authored
Merge pull request kodecocodes#331 from pixyzehn/access-control-position
Fix Access Control position in AVLTree
2 parents e8a7141 + d8b96a4 commit 6ed6ed0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

AVL Tree/AVLTree.swift

+1-1
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)