couchbase-lite-core icon indicating copy to clipboard operation
couchbase-lite-core copied to clipboard

Changed a lot of Retained<>s into Ref<>s

Open snej opened this issue 1 month ago • 1 comments

Basically, anywhere a Retained<> was never expected/allowed to be null, I changed it to Ref<>. This makes APIs more clear, and allows UBSan (and to some degree, Clang) to detect more illegal null pointers.

This depends on https://github.com/couchbase/fleece/pull/274

snej avatar Nov 22 '25 00:11 snej