mirror of https://github.com/SnapKit/SnapKit
Ensure ConcreteConstraint cannot be subclassed
This commit is contained in:
parent
5d5bc09b25
commit
931eb01de9
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue