From f3e8d5332ff91a1754d01b48c72733734c775815 Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Wed, 1 May 2024 21:26:17 -0700 Subject: [PATCH] Fix some concurrency warnings. --- Core/Sources/Core/OPMLRepresentable.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Core/Sources/Core/OPMLRepresentable.swift b/Core/Sources/Core/OPMLRepresentable.swift index 046c78d3f..b2eff3086 100644 --- a/Core/Sources/Core/OPMLRepresentable.swift +++ b/Core/Sources/Core/OPMLRepresentable.swift @@ -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) } }