mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-28 16:24:27 +02:00
[BUG_FIXED] Fix compiling problem in debug mode
This problem is due to the sort lines enhancement.
This commit is contained in:
parent
6b853cf3d3
commit
50410cc744
@ -847,7 +847,7 @@ std::vector<generic_string> numericSort(std::vector<generic_string> input, bool
|
|||||||
nonEmptyInputAsNumbers.push_back(stollStrict(line));
|
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)
|
std::sort(nonEmptyInputAsNumbers.begin(), nonEmptyInputAsNumbers.end(), [isDescending](long long a, long long b)
|
||||||
{
|
{
|
||||||
if (isDescending)
|
if (isDescending)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user