Skip to content

Commit

Permalink
work around MSVC2010 ICE
Browse files Browse the repository at this point in the history
Task-number: QTBUG-42064
Change-Id: Ifffcc0cf9109b76d79f603a13792d7fd9979761c
Reviewed-by: Joerg Bornemann <[email protected]>
  • Loading branch information
ossilator committed Oct 29, 2014
1 parent e1ff27c commit 87eb3ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qmake/library/proitems.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -416,8 +416,8 @@ QStringList ProStringList::toQStringList() const
{
QStringList ret;
ret.reserve(size());
foreach (const ProString &str, *this)
ret << str.toQString();
for (int i = 0; i < size(); i++) // foreach causes MSVC2010 ICE
ret << at(i).toQString();
return ret;
}

Expand Down

0 comments on commit 87eb3ea

Please sign in to comment.