Skip to content

Fix MSVC build: avoid capturing static variable in lambda (#655)#663

Merged
ten9876 merged 1 commit into
mainfrom
auto/Fix-MSVC-build-avoid-capturing-static-variable-in-
Apr 4, 2026
Merged

Fix MSVC build: avoid capturing static variable in lambda (#655)#663
ten9876 merged 1 commit into
mainfrom
auto/Fix-MSVC-build-avoid-capturing-static-variable-in-

Conversation

@ten9876

@ten9876 ten9876 commented Apr 4, 2026

Copy link
Copy Markdown
Collaborator

MSVC rejects &kPrompt capture in lambda — static variables are not
automatic storage. Use a local const ref copy for the capture.

Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com

MSVC rejects &kPrompt capture in lambda — static variables are not
automatic storage. Use a local const ref copy for the capture.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@ten9876 ten9876 enabled auto-merge (squash) April 4, 2026 14:06
@ten9876 ten9876 merged commit 30a511d into main Apr 4, 2026
2 checks passed
@ten9876 ten9876 deleted the auto/Fix-MSVC-build-avoid-capturing-static-variable-in- branch April 4, 2026 14:10
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