Use old-style loop to be compatible with VS2010.

This commit is contained in:
Andreas Jönsson 2015-05-20 08:25:14 +02:00
parent 7b9c342bda
commit 626dc02c4c

View File

@ -132,9 +132,9 @@ public:
{
output.insert(output.end(), empties.begin(), empties.end());
}
for (const std::pair<size_t, T_Num>& sortedNumber : nonEmptyInputAsNumbers)
for (auto it = nonEmptyInputAsNumbers.begin(); it != nonEmptyInputAsNumbers.end(); ++it)
{
output.push_back(lines[sortedNumber.first]);
output.push_back(lines[it->first]);
}
if (isDescending())
{