Skip to content

Commit aa1700c

Browse files
committed
Merge pull request #163 from aciidb0mb3r/fix_deprecation
Fix deprecated inout position
2 parents 082336a + e5d1487 commit aa1700c

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
@@ -31,7 +31,7 @@ public final class Resources {
3131
/// defined in main binary. The actual contents of the symbol are
3232
/// irrelevant, this is just used in order to be able to locate the main
3333
/// binary path.
34-
public static func initialize(inout globalSymbolInMainBinary: Int, file: String = #file) {
34+
public static func initialize(globalSymbolInMainBinary: inout Int, file: String = #file) {
3535
precondition(Resources.registeredMainExecutablePath == nil, "resources already initialized")
3636

3737
#if os(Linux)

0 commit comments

Comments
 (0)