Fix URL compositing in Beast (RIPD-636).

This commit is contained in:
Nik Bougalis
2014-10-13 18:42:22 -07:00
committed by Tom Ritchford
parent 5b4a501f68
commit 35935adc98
15 changed files with 309 additions and 418 deletions

View File

@@ -39,10 +39,7 @@ public:
std::string to_string () const
{
std::stringstream ss;
ss <<
"File: '" << m_file.getFullPathName().toStdString() + "'";
return ss.str();
return "File: '" + m_file.getFullPathName().toStdString() + "'";
}
std::string uniqueID () const

View File

@@ -40,20 +40,20 @@ public:
std::string to_string () const
{
std::stringstream ss;
ss <<
"URL: '" << m_url.to_string() << "'";
return ss.str();
using std::to_string;
return "URL: '" + to_string (m_url) + "'";
}
std::string uniqueID () const
{
return "URL," + m_url.to_string();
using std::to_string;
return "URL," + to_string (m_url);
}
std::string createParam ()
{
return m_url.to_string();
using std::to_string;
return to_string (m_url);
}
void cancel ()