Skip to content

Commit b233795

Browse files
committed
Reset original benchmark code
1 parent c863cd1 commit b233795

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Benchmarks/Benchmarks/ECSBenchmark/Base.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class ExampleSystem {
5353
}
5454

5555
func update(deltaT _: Double) {
56-
family.forEach { (position: Position, velocity: Velocity) in
56+
for (position, velocity) in family {
5757
position.x *= 2
5858
velocity.a *= 2
5959
}

0 commit comments

Comments
 (0)