Fix some concurrency warnings.

This commit is contained in:
Brent Simmons
2024-05-01 21:26:17 -07:00
parent 81a68884cb
commit f3e8d5332f

View File

@@ -10,12 +10,12 @@ import Foundation
public protocol OPMLRepresentable {
func OPMLString(indentLevel: Int, allowCustomAttributes: Bool) -> String
@MainActor func OPMLString(indentLevel: Int, allowCustomAttributes: Bool) -> String
}
public extension OPMLRepresentable {
func OPMLString(indentLevel: Int) -> String {
@MainActor func OPMLString(indentLevel: Int) -> String {
return OPMLString(indentLevel: indentLevel, allowCustomAttributes: false)
}
}