Upgrade to Swift 4.2
This commit is contained in:
parent
4a0ad2f58d
commit
cddb155c5a
|
|
@ -1,4 +1,4 @@
|
|||
// swift-tools-version:4.0
|
||||
// swift-tools-version:4.1
|
||||
// The swift-tools-version declares the minimum version of Swift required to build this package.
|
||||
|
||||
import PackageDescription
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
//
|
||||
// Created by Christian Treffs on 09.10.17.
|
||||
//
|
||||
|
||||
import Swift
|
||||
public struct FamilyTraitSet: CustomStringConvertible, CustomDebugStringConvertible {
|
||||
|
||||
public let requiresAll: ComponentSet
|
||||
|
|
@ -25,7 +25,7 @@ public struct FamilyTraitSet: CustomStringConvertible, CustomDebugStringConverti
|
|||
|
||||
isEmptyAny = one.isEmpty
|
||||
|
||||
setHash = hash(combine: [all, one, none])
|
||||
setHash = FirebladeECS.hash(combine: [all, one, none])
|
||||
|
||||
self.requiresAll = all
|
||||
self.needsAtLeastOne = one
|
||||
|
|
|
|||
Loading…
Reference in New Issue