Use std::istringstream or std::ostringstream instead of std::stringstream where possible.

This removes std::iostream from the inheritance chain, which reduces
overhead slightly.
This commit is contained in:
David Korth
2019-09-14 16:40:34 -04:00
parent 6e549bb668
commit c2dd2e8a2e
14 changed files with 20 additions and 20 deletions

View File

@ -1392,7 +1392,7 @@ std::string GenerateDecodingShader(TextureFormat format, TLUTFormat palette_form
if (!info)
return "";
std::stringstream ss;
std::ostringstream ss;
switch (palette_format)
{
case TLUTFormat::IA8:
@ -1414,7 +1414,7 @@ std::string GenerateDecodingShader(TextureFormat format, TLUTFormat palette_form
std::string GeneratePaletteConversionShader(TLUTFormat palette_format, APIType api_type)
{
std::stringstream ss;
std::ostringstream ss;
ss << R"(
int Convert3To8(int v)