aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/scnlib/scnlib-pr-136.patch
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/scnlib/scnlib-pr-136.patch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/scnlib/scnlib-pr-136.patch')
-rw-r--r--vcpkg/ports/scnlib/scnlib-pr-136.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/vcpkg/ports/scnlib/scnlib-pr-136.patch b/vcpkg/ports/scnlib/scnlib-pr-136.patch
new file mode 100644
index 0000000..f3ecee9
--- /dev/null
+++ b/vcpkg/ports/scnlib/scnlib-pr-136.patch
@@ -0,0 +1,26 @@
+diff --git a/src/scn/impl.cpp b/src/scn/impl.cpp
+index aa0d334..ab859a4 100644
+--- a/src/scn/impl.cpp
++++ b/src/scn/impl.cpp
+@@ -721,15 +721,17 @@ scan_expected<std::ptrdiff_t> fast_float_fallback(impl_init_data<CharT> data,
+ struct fast_float_impl_base : impl_base {
+ fast_float::chars_format get_flags() const
+ {
+- unsigned format_flags{};
++ fast_float::chars_format format_flags{};
+ if ((m_options & float_reader_base::allow_fixed) != 0) {
+- format_flags |= fast_float::fixed;
++ format_flags =
++ static_cast<fast_float::chars_format>(format_flags | fast_float::chars_format::fixed);
+ }
+ if ((m_options & float_reader_base::allow_scientific) != 0) {
+- format_flags |= fast_float::scientific;
++ format_flags =
++ static_cast<fast_float::chars_format>(format_flags | fast_float::chars_format::scientific);
+ }
+
+- return static_cast<fast_float::chars_format>(format_flags);
++ return format_flags;
+ }
+ };
+