mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-11-21 08:01:32 +01:00
fix casting issues
This commit is contained in:
1 parent
6b9a4b480b
commit
468922d5ed
9 files changed
+23
-23
No files matched your search
+4
-4
@@ -267,9 +267,9 @@ public enum ValueContainer<O: CoreStoreObject> {
|
||||
}
|
||||
}
|
||||
|
||||
internal var valueForSnapshot: Any {
|
||||
internal var valueForSnapshot: Any? {
|
||||
|
||||
return self.value as Any
|
||||
return self.value
|
||||
}
|
||||
|
||||
|
||||
@@ -489,9 +489,9 @@ public enum ValueContainer<O: CoreStoreObject> {
|
||||
}
|
||||
}
|
||||
|
||||
internal var valueForSnapshot: Any {
|
||||
internal var valueForSnapshot: Any? {
|
||||
|
||||
return self.value as Any
|
||||
return self.value
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user