aboutsummaryrefslogtreecommitdiff
path: root/contrib/epee/src
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2021-08-26 21:12:25 -0400
committerluigi1111 <luigi1111w@gmail.com>2021-08-26 21:12:25 -0400
commit3673a679e4ba9e20f87d50cd37f1129f16b382ba (patch)
tree05480504f6ec156b6149f56843da66780e15259e /contrib/epee/src
parentMerge pull request #7847 (diff)
parentepee: tidying post-incrementation -> pre-incrementation (diff)
downloadmonero-3673a679e4ba9e20f87d50cd37f1129f16b382ba.tar.xz
Merge pull request #7850
0ac9a04 epee: tidying post-incrementation -> pre-incrementation (mj-xmr)
Diffstat (limited to 'contrib/epee/src')
-rw-r--r--contrib/epee/src/http_base.cpp2
-rw-r--r--contrib/epee/src/net_parse_helpers.cpp2
-rw-r--r--contrib/epee/src/parserse_base_utils.cpp10
3 files changed, 7 insertions, 7 deletions
diff --git a/contrib/epee/src/http_base.cpp b/contrib/epee/src/http_base.cpp
index 647dfb899..f6d7568c5 100644
--- a/contrib/epee/src/http_base.cpp
+++ b/contrib/epee/src/http_base.cpp
@@ -44,7 +44,7 @@ namespace http
std::string get_value_from_fields_list(const std::string& param_name, const net_utils::http::fields_list& fields)
{
fields_list::const_iterator it = fields.begin();
- for(; it != fields.end(); it++)
+ for(; it != fields.end(); ++it)
if(!string_tools::compare_no_case(param_name, it->first))
break;
diff --git a/contrib/epee/src/net_parse_helpers.cpp b/contrib/epee/src/net_parse_helpers.cpp
index de7843b67..2697bdac4 100644
--- a/contrib/epee/src/net_parse_helpers.cpp
+++ b/contrib/epee/src/net_parse_helpers.cpp
@@ -48,7 +48,7 @@ namespace net_utils
state st = st_param_name;
std::string::const_iterator start_it = query.begin();
std::pair<std::string, std::string> e;
- for(std::string::const_iterator it = query.begin(); it != query.end(); it++)
+ for(std::string::const_iterator it = query.begin(); it != query.end(); ++it)
{
switch(st)
{
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))
{