[BUG_FIXED] Fix compiling problem in debug mode

This problem is due to the sort lines enhancement.
This commit is contained in:
Don Ho 2015-05-15 19:41:59 +02:00
parent 6b853cf3d3
commit 50410cc744
1 changed files with 1 additions and 1 deletions

View File

@ -847,7 +847,7 @@ std::vector<generic_string> numericSort(std::vector<generic_string> input, bool
nonEmptyInputAsNumbers.push_back(stollStrict(line));
}
}
assert(nonEmptyinputAsInts.size() + nofEmptyLines == input.size());
assert(nonEmptyInputAsNumbers.size() + nofEmptyLines == input.size());
std::sort(nonEmptyInputAsNumbers.begin(), nonEmptyInputAsNumbers.end(), [isDescending](long long a, long long b)
{
if (isDescending)