Skip to content

Commit 5ac56d7

Browse files
committed
Swift 1.2 beta 3
Nested functions no longer require `self`. Signed-off-by: Stephen Celis <stephen@stephencelis.com>
1 parent b1b27d5 commit 5ac56d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SQLite/Query.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -768,7 +768,7 @@ public struct Row {
768768
}
769769
public func get<V: Value>(column: Expression<V?>) -> V? {
770770
func valueAtIndex(idx: Int) -> V? {
771-
if let value = self.values[idx] as? V.Datatype { return (V.fromDatatypeValue(value) as! V) }
771+
if let value = values[idx] as? V.Datatype { return (V.fromDatatypeValue(value) as! V) }
772772
return nil
773773
}
774774

0 commit comments

Comments
 (0)