diff options
author | mj-xmr <mjxmr@protonmail.com> | 2021-08-11 16:47:32 +0200 |
---|---|---|
committer | mj-xmr <mjxmr@protonmail.com> | 2021-08-11 16:47:32 +0200 |
commit | 0ac9a04b4c5055fa814ec2cba6486bdc4c4300c3 (patch) | |
tree | bb32b0b39bc7a1b981f6be4e6bc273d425ffade3 /contrib/epee/src/parserse_base_utils.cpp | |
parent | Merge pull request #7796 (diff) | |
download | monero-0ac9a04b4c5055fa814ec2cba6486bdc4c4300c3.tar.xz |
epee: tidying post-incrementation -> pre-incrementation
Diffstat (limited to 'contrib/epee/src/parserse_base_utils.cpp')
-rw-r--r-- | contrib/epee/src/parserse_base_utils.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/contrib/epee/src/parserse_base_utils.cpp b/contrib/epee/src/parserse_base_utils.cpp index 112e9c5e4..e96c2dede 100644 --- a/contrib/epee/src/parserse_base_utils.cpp +++ b/contrib/epee/src/parserse_base_utils.cpp @@ -102,7 +102,7 @@ namespace misc_utils ++fi; val.assign(it, fi); it = fi; - for(;it != buf_end;it++) + for(;it != buf_end;++it) { if(escape_mode/*prev_ch == '\\'*/) { @@ -197,7 +197,7 @@ namespace misc_utils ++chars; ++it; } - for(;it != buf_end;it++) + for(;it != buf_end;++it) { const uint8_t flags = lut[(uint8_t)*it]; if (flags & 16) @@ -224,7 +224,7 @@ namespace misc_utils { val.clear(); - for(std::string::const_iterator it = star_end_string;it != buf_end;it++) + for(std::string::const_iterator it = star_end_string;it != buf_end;++it) { if (!(lut[(uint8_t)*it] & 4)) { @@ -243,7 +243,7 @@ namespace misc_utils { val.clear(); - for(std::string::const_iterator it = star_end_string;it != buf_end;it++) + for(std::string::const_iterator it = star_end_string;it != buf_end;++it) { if(!isalnum(*it) && *it != '-' && *it != '_') { @@ -262,7 +262,7 @@ namespace misc_utils { word_end = star_end_string; - for(std::string::const_iterator it = star_end_string;it != buf_end;it++) + for(std::string::const_iterator it = star_end_string;it != buf_end;++it) { if(isspace(*it)) { |