We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 00f81f6 commit 5b044bbCopy full SHA for 5b044bb
1 file changed
src/scn/impl.cpp
@@ -723,10 +723,12 @@ struct fast_float_impl_base : impl_base {
723
{
724
unsigned format_flags{};
725
if ((m_options & float_reader_base::allow_fixed) != 0) {
726
- format_flags |= fast_float::fixed;
+ format_flags |=
727
+ static_cast<unsigned>(fast_float::chars_format::fixed);
728
}
729
if ((m_options & float_reader_base::allow_scientific) != 0) {
- format_flags |= fast_float::scientific;
730
731
+ static_cast<unsigned>(fast_float::chars_format::scientific);
732
733
734
return static_cast<fast_float::chars_format>(format_flags);
0 commit comments