Commit 8fee0ab8 by Olli Etuaho

Fix build regression on Linux

Chromium's Linux toolchain doesn't implement the return value of std::vector::insert correctly, causing a build failure. Remove an unnecessary assignment of the return value to fix this build regression. The regression was caused by the commit: "Put each array declarator into a separate declaration in HLSL output" TEST=angle_unittests Change-Id: I2959122d28e4c7e6d6a4d842a97a8f1fd4f27ca1 Reviewed-on: https://chromium-review.googlesource.com/266990Reviewed-by: 's avatarOlli Etuaho <oetuaho@nvidia.com> Tested-by: 's avatarOlli Etuaho <oetuaho@nvidia.com>
parent 78174db7
...@@ -202,7 +202,7 @@ bool TIntermAggregate::replaceChildNodeWithMultiple(TIntermNode *original, TInte ...@@ -202,7 +202,7 @@ bool TIntermAggregate::replaceChildNodeWithMultiple(TIntermNode *original, TInte
if (*it == original) if (*it == original)
{ {
it = mSequence.erase(it); it = mSequence.erase(it);
it = mSequence.insert(it, replacements.begin(), replacements.end()); mSequence.insert(it, replacements.begin(), replacements.end());
return true; return true;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment