Respond to CR.

This commit is contained in:
Matthew Chen 2017-12-07 14:33:54 -05:00
parent f148003fb3
commit 1be828574d

View File

@ -19,10 +19,10 @@ public class SwiftSingletons: NSObject {
}
let singletonClassName = String(describing:type(of:singleton))
guard !classSet.contains(singletonClassName) else {
owsFail("\(self.logTag()) in \(#function) Duplicate singleton: \(singletonClassName).")
owsFail("\(self.logTag) in \(#function) Duplicate singleton: \(singletonClassName).")
return
}
Logger.verbose("\(self.logTag()) in \(#function) Registering singleton: \(singletonClassName).")
Logger.verbose("\(self.logTag) in \(#function) Registering singleton: \(singletonClassName).")
classSet.insert(singletonClassName)
}