aboutsummaryrefslogtreecommitdiff
path: root/contrib/epee/include/net/http_protocol_handler.inl
diff options
context:
space:
mode:
authorJeffrey <jeffryan@tamu.edu>2022-03-07 20:16:49 -0600
committerJeffrey <jeffryan@tamu.edu>2022-04-18 09:55:21 -0500
commit801568d0c6dadfcf4992eaf7ed5565e5682ad248 (patch)
treebe3521197a3206be0c9a6bf789b9f50f80f23c34 /contrib/epee/include/net/http_protocol_handler.inl
parentRefactor out pragma_comp_defs (diff)
downloadmonero-801568d0c6dadfcf4992eaf7ed5565e5682ad248.tar.xz
Refactor out to_nonconst_iterator.h
Relevant commit on old PR: 2499269696192ce30dd125ddee90a80d4326dff9
Diffstat (limited to 'contrib/epee/include/net/http_protocol_handler.inl')
-rw-r--r--contrib/epee/include/net/http_protocol_handler.inl2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/epee/include/net/http_protocol_handler.inl b/contrib/epee/include/net/http_protocol_handler.inl
index 0f4a28c99..df0afc5cf 100644
--- a/contrib/epee/include/net/http_protocol_handler.inl
+++ b/contrib/epee/include/net/http_protocol_handler.inl
@@ -376,7 +376,7 @@ namespace net_utils
m_query_info.m_http_method_str = result[2];
m_query_info.m_full_request_str = result[0];
- m_cache.erase(m_cache.begin(), to_nonsonst_iterator(m_cache, result[0].second));
+ m_cache.erase(m_cache.begin(), result[0].second);
m_state = http_state_retriving_header;