Skip to content

fix: make base64-var concurrency safe#10

Open
nylki wants to merge 1 commit intonh7a:mainfrom
nylki:make-base32-concurrency-safe
Open

fix: make base64-var concurrency safe#10
nylki wants to merge 1 commit intonh7a:mainfrom
nylki:make-base32-concurrency-safe

Conversation

@nylki
Copy link
Copy Markdown

@nylki nylki commented Feb 24, 2025

This PR makes the base64 variable comply with strict concurrency when changing the version 5->6 in package.swift. Otherwise the compiler throws an error and Geohash won't compile. Since it doesn't affect functionality for Swift 5 usage of the library, I considered it a low hanging fruit.

when changing the Swift version 5->6 in package.swift,
by converting the variable to a `let`.
@nylki nylki changed the title fix: make base64 concurrency safe fix: make base64-var concurrency safe Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant