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:
parent
1ca7413aed
commit
a49d85fa3e
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user