From 7631a0db278667d0d04029d624b23cd1af8e088d Mon Sep 17 00:00:00 2001 From: Yasuhiro Inami Date: Thu, 11 Jun 2015 17:17:15 -0700 Subject: [PATCH] Improve #25. --- SwiftState/HierarchicalStateMachine.swift | 1 - SwiftState/StateMachine.swift | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/SwiftState/HierarchicalStateMachine.swift b/SwiftState/HierarchicalStateMachine.swift index 3733491..9fd58b5 100644 --- a/SwiftState/HierarchicalStateMachine.swift +++ b/SwiftState/HierarchicalStateMachine.swift @@ -139,7 +139,6 @@ public class HierarchicalStateMachine: StateMac let fromState = self.state let toState = state - _ = fromState => toState let (fromSubmachine, _) = self._submachineTupleForState(fromState) let (toSubmachine, toSubstate) = self._submachineTupleForState(toState) diff --git a/SwiftState/StateMachine.swift b/SwiftState/StateMachine.swift index 09fb3fb..c34a1c0 100644 --- a/SwiftState/StateMachine.swift +++ b/SwiftState/StateMachine.swift @@ -504,7 +504,7 @@ public class StateMachine { var index = handlerInfos.count - for i in Array(Array(0..