SPV: Make previous commit compile with MSVC 2012.

This commit is contained in:
John Kessenich 2015-07-20 22:34:49 -06:00
parent 37e8337958
commit 96f4911351
2 changed files with 2 additions and 1 deletions

View file

@ -1738,7 +1738,7 @@ void Builder::endSwitch(std::vector<Block*>& /*segmentBlock*/)
// Comments in header
void Builder::makeNewLoop(bool loopTestFirst)
{
loops.push({ });
loops.push(Loop());
Loop& loop = loops.top();
loop.function = &getBuildPoint()->getParent();