Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change std::copy to detail::copy in chrono to fix MSVC 19.41.34120 compile errors #4132

Merged
merged 1 commit into from
Aug 28, 2024

Conversation

tinfoilboy
Copy link
Contributor

Follows the same rationale as commit 6e462b8 to replace std::copy usage with the library detail::copy. Without this, latest MSVC versions will fail to compile when using chrono types.

Compile result before changing to detail::copy:
https://www.godbolt.org/z/G5MGeWva6

Compile result after:
https://www.godbolt.org/z/vYex485oz

@vitaut vitaut merged commit e3676ca into fmtlib:master Aug 28, 2024
43 checks passed
@vitaut
Copy link
Contributor

vitaut commented Aug 28, 2024

Thank you!

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.

2 participants