Merge tag '0.12.0' into develop

Hashing fixes & sparse set improvements
This commit is contained in:
Christian Treffs 2020-07-10 10:16:33 +02:00
commit a9b46f7e3e
No known key found for this signature in database
GPG Key ID: 49A4B4B460BE3ED4
2 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ import PackageDescription
let package = Package(
name: "YourPackageName",
dependencies: [
.package(url: "https://github.com/fireblade-engine/ecs.git", from: "0.11.2")
.package(url: "https://github.com/fireblade-engine/ecs.git", from: "0.12.0")
],
targets: [
.target(

View File

@ -70,7 +70,7 @@ public final class Nexus {
childrenByParentEntity.removeAll()
}
@available(swift, deprecated: 0.11.2)
@available(swift, deprecated: 0.12.0)
public static var knownUniqueComponentTypes: Set<ComponentIdentifier> {
Set<ComponentIdentifier>(stableComponentIdentifierMap.keys.map { ComponentIdentifier(hash: $0) })
}