Refactor out to_nonconst_iterator.h

Relevant commit on old PR:
2499269696192ce30dd125ddee90a80d4326dff9
This commit is contained in:
Jeffrey 2022-03-07 20:16:49 -06:00
parent 87ec36cacf
commit 801568d0c6
4 changed files with 1 additions and 55 deletions

View file

@ -50,7 +50,6 @@
#include "abstract_http_client.h"
#include "http_base.h"
#include "http_auth.h"
#include "to_nonconst_iterator.h"
#include "net_parse_helpers.h"
#include "syncobj.h"

View file

@ -33,7 +33,6 @@
#include <boost/optional/optional.hpp>
#include <string>
#include "net_utils_base.h"
#include "to_nonconst_iterator.h"
#include "http_auth.h"
#include "http_base.h"

View file

@ -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;