Skip to content

Commit e5d1487

Browse files
committed
Fix deprecated inout position
1 parent 235f5dd commit e5d1487

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Utility/Resources.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public final class Resources {
3333
/// defined in main binary. The actual contents of the symbol are
3434
/// irrelevant, this is just used in order to be able to locate the main
3535
/// binary path.
36-
public static func initialize(inout globalSymbolInMainBinary: Int, file: String = #file) {
36+
public static func initialize(globalSymbolInMainBinary: inout Int, file: String = #file) {
3737
precondition(Resources.registeredMainExecutablePath == nil, "resources already initialized")
3838

3939
#if os(Linux)

0 commit comments

Comments
 (0)