From 256bb429b59633eab3a9945c2208e77c07906652 Mon Sep 17 00:00:00 2001 From: Andrzej Rybczak Date: Tue, 10 Feb 2009 12:23:02 +0100 Subject: [PATCH] change std::stringstream to std::ostringstream --- src/misc.cpp | 2 +- src/song.cpp | 2 +- src/tag_editor.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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("."));