You should be able to add mutating
to the getter of the currentP
property.
public var currentP: String? {
+ mutating get {
let currentTime = Date()
return try? generator.p(at: currentTime)
+ }
}
You should be able to add mutating
to the getter of the currentP
property.
public var currentP: String? {
+ mutating get {
let currentTime = Date()
return try? generator.p(at: currentTime)
+ }
}