Ensure ConcreteConstraint cannot be subclassed

This commit is contained in:
Robert Payne 2015-04-15 23:32:47 +12:00
parent 5d5bc09b25
commit 931eb01de9
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ public class Constraint {
/** /**
Used internally to implement a ConcreteConstraint Used internally to implement a ConcreteConstraint
*/ */
internal class ConcreteConstraint: Constraint { final internal class ConcreteConstraint: Constraint {
internal override func updateOffset(amount: Float) -> Void { internal override func updateOffset(amount: Float) -> Void {
self.constant = amount self.constant = amount