touchlab / SQLiter

Minimal multiplatform sqlite library
https://touchlab.co
177 stars 35 forks source link

Address the various build warnings across the app after updating to 1.7.20 beta #79

Closed psh closed 2 years ago

psh commented 2 years ago

Explicit freezing in tests moved to calling the same "maybeFreeze" function to match production. Similar method added to ensure never frozen, for strict memory model.

Other changes suggested by the IDE to address method argument names.

Opted in via an annotation for UnsafeNumber - although the constant can change between platforms, we are only building an iOS version of the code.

Tests and the build ran clean.