mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-25 06:47:55 +08:00
dcc7ddcd5c
* [mbedtls/nana] Update to the latest version * [nana] Remove unused patch and update patch EOF
14 lines
556 B
Diff
14 lines
556 B
Diff
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;
|
|
}
|
|
|