Browse Source

Ensure ConcreteConstraint cannot be subclassed

Robert Payne 10 years ago
parent
commit
931eb01de9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/Constraint.swift

+ 1 - 1
Source/Constraint.swift

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