mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Fix some concurrency warnings.
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user