change std::stringstream to std::ostringstream

This commit is contained in:
Andrzej Rybczak
2009-02-10 12:23:02 +01:00
parent f9f5149b76
commit 256bb429b5
3 changed files with 3 additions and 3 deletions

View File

@@ -40,7 +40,7 @@ int StrToInt(std::string str)
std::string IntoStr(int l)
{
std::stringstream ss;
std::ostringstream ss;
ss << l;
return ss.str();
}

View File

@@ -540,7 +540,7 @@ bool Song::operator<(const Song &s) const
string Song::ShowTime(int length)
{
std::stringstream ss;
std::ostringstream ss;
int hours = length/3600;
length -= hours*3600;

View File

@@ -116,7 +116,7 @@ namespace
string ParseFilename(Song &s, string mask, bool preview)
{
std::stringstream result;
std::ostringstream result;
vector<string> separators;
vector< std::pair<char, string> > tags;
string file = s.GetName().substr(0, s.GetName().rfind("."));