change std::stringstream to std::ostringstream

master
Andrzej Rybczak 17 years ago
parent f9f5149b76
commit 256bb429b5
  1. 2
      src/misc.cpp
  2. 2
      src/song.cpp
  3. 2
      src/tag_editor.cpp

@ -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();
}

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

@ -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("."));

Loading…
Cancel
Save