Skip to content

Commit

Permalink
Reorganize some files
Browse files Browse the repository at this point in the history
  • Loading branch information
vishesh committed Sep 4, 2023
1 parent bd143f9 commit a67393a
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 16 deletions.
6 changes: 6 additions & 0 deletions Sources/ARTreeModule/ARTree/ARTree+insert.swift
Original file line number Diff line number Diff line change
Expand Up @@ -168,3 +168,9 @@ extension ARTreeImpl {
fatalError("unexpected state")
}
}

extension ARTreeImpl {
static func allocateLeaf(key: Key, value: Value) -> NodeStorage<NodeLeaf<Spec>> {
return NodeLeaf<Spec>.allocate(key: key, value: value)
}
}
16 changes: 0 additions & 16 deletions Sources/ARTreeModule/ARTree/ARTree+utils.swift

This file was deleted.

0 comments on commit a67393a

Please sign in to comment.