Skip to content

fix: Replace Bool(fromCxx:) with use_count() to fix Swift build error#1242

Open
mrousavy wants to merge 1 commit intomainfrom
fix/fix-bool-fromcxx
Open

fix: Replace Bool(fromCxx:) with use_count() to fix Swift build error#1242
mrousavy wants to merge 1 commit intomainfrom
fix/fix-bool-fromcxx

Conversation

@mrousavy
Copy link
Copy Markdown
Owner

@mrousavy mrousavy commented Mar 3, 2026

@vercel
Copy link
Copy Markdown

vercel Bot commented Mar 3, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
nitro-docs Skipped Skipped Mar 3, 2026 4:53pm

Request Review

@mrousavy
Copy link
Copy Markdown
Owner Author

mrousavy commented Mar 3, 2026

Hmm, according to swiftlang/swift#87452, it is fixed in Swift 6.3, so maybe I dont need to fix this after all.

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.

Build fails on Xcode 26 (Swift 6.2): Bool(fromCxx:) requires CxxConvertibleToBool conformance for shared_ptr

1 participant