diff --git a/src/misc.cpp b/src/misc.cpp index 5a504c89..19ab8b18 100644 --- a/src/misc.cpp +++ b/src/misc.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(); } diff --git a/src/song.cpp b/src/song.cpp index a44ab681..1cfea3e1 100644 --- a/src/song.cpp +++ b/src/song.cpp @@ -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; diff --git a/src/tag_editor.cpp b/src/tag_editor.cpp index 8ee3385a..9e6915d3 100644 --- a/src/tag_editor.cpp +++ b/src/tag_editor.cpp @@ -116,7 +116,7 @@ namespace string ParseFilename(Song &s, string mask, bool preview) { - std::stringstream result; + std::ostringstream result; vector separators; vector< std::pair > tags; string file = s.GetName().substr(0, s.GetName().rfind("."));