aboutsummaryrefslogtreecommitdiff
path: root/src/compiler/translator/ValidateOutputs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/translator/ValidateOutputs.cpp')
-rw-r--r--src/compiler/translator/ValidateOutputs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/translator/ValidateOutputs.cpp b/src/compiler/translator/ValidateOutputs.cpp
index 98802554d6..8115523789 100644
--- a/src/compiler/translator/ValidateOutputs.cpp
+++ b/src/compiler/translator/ValidateOutputs.cpp
@@ -119,7 +119,7 @@ void ValidateOutputsTraverser::validate(TDiagnostics *diagnostics) const
const size_t offsetLocation = location + elementIndex;
if ((*validOutputsToUse)[offsetLocation])
{
- std::stringstream strstr = sh::InitializeStream<std::stringstream>();
+ std::stringstream strstr;
strstr << "conflicting output locations with previously defined output '"
<< (*validOutputsToUse)[offsetLocation]->getName() << "'";
error(*symbol, strstr.str().c_str(), diagnostics);