From c2dd2e8a2e202b3cb63023306569d4f26e293adb Mon Sep 17 00:00:00 2001 From: David Korth Date: Sat, 14 Sep 2019 16:40:34 -0400 Subject: Use std::istringstream or std::ostringstream instead of std::stringstream where possible. This removes std::iostream from the inheritance chain, which reduces overhead slightly. --- Source/Core/AudioCommon/WaveFile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/AudioCommon/WaveFile.cpp') diff --git a/Source/Core/AudioCommon/WaveFile.cpp b/Source/Core/AudioCommon/WaveFile.cpp index 42ca8cd3b3..70cdc5aee9 100644 --- a/Source/Core/AudioCommon/WaveFile.cpp +++ b/Source/Core/AudioCommon/WaveFile.cpp @@ -147,7 +147,7 @@ void WaveFileWriter::AddStereoSamplesBE(const short* sample_data, u32 count, int { Stop(); file_index++; - std::stringstream filename; + std::ostringstream filename; filename << File::GetUserPath(D_DUMPAUDIO_IDX) << basename << file_index << ".wav"; Start(filename.str(), sample_rate); current_sample_rate = sample_rate; -- cgit v1.2.3