Upgrade to Swift 4.2

This commit is contained in:
Christian Treffs 2018-06-04 14:21:20 -07:00
parent 4a0ad2f58d
commit cddb155c5a
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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