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

Fix C4127 warning in basic_writer<Range>::write_double #838

Merged
merged 1 commit into from
Aug 17, 2018
Merged

Fix C4127 warning in basic_writer<Range>::write_double #838

merged 1 commit into from
Aug 17, 2018

Conversation

eliasdaler
Copy link
Contributor

Hello.

The situation is similar to #146.
Got a lot of C4127 warnings (constant expression) on /W4 in VS 2017. This fixes it via the same approach that was previously used.

@vitaut vitaut merged commit 1840050 into fmtlib:master Aug 17, 2018
@vitaut
Copy link
Contributor

vitaut commented Aug 17, 2018

Merged, thanks!

@zoller27osu
Copy link

In C++17, these kinds of things are best fixed by using http://wg21.link/p0292 .

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.

3 participants