diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/nana/fix-build-error.patch | |
Diffstat (limited to 'vcpkg/ports/nana/fix-build-error.patch')
| -rw-r--r-- | vcpkg/ports/nana/fix-build-error.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/nana/fix-build-error.patch b/vcpkg/ports/nana/fix-build-error.patch new file mode 100644 index 0000000..d007143 --- /dev/null +++ b/vcpkg/ports/nana/fix-build-error.patch @@ -0,0 +1,13 @@ +diff --git a/source/system/split_string.cpp b/source/system/split_string.cpp +index 8269db6..c40016b 100644 +--- a/source/system/split_string.cpp ++++ b/source/system/split_string.cpp +@@ -18,7 +18,7 @@ std::vector<split_string_type> split_string (const split_string_type& text, char + sep_pos = text.find(sep, sep_pos); + sep_pos = (text.npos == sep_pos ? text.size() : sep_pos); + const std::size_t end = sep_pos; +- while (sep_pos < text.size() and sep == text[sep_pos]) { ++ while (sep_pos < text.size() && sep == text[sep_pos]) { + ++sep_pos; + } + |