Replaced pop_back, which is not available on all compilers (for

std::string).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15025 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2014-01-12 22:43:45 +00:00
parent 1ca7413aed
commit a49d85fa3e

View File

@ -184,7 +184,9 @@ namespace Online
// All parameters added have a '&' added
if(m_parameters.size()>0)
m_parameters.pop_back();
{
m_parameters.erase(m_parameters.size()-1);
}
Log::info("HTTPRequest", "Sending %s to %s",
m_parameters.c_str(), m_url.c_str());