Details
Details
- Reviewers
tstellar foad - Commits
- rGc5029023fb07: Fix building with GCC 12:
Diff Detail
Diff Detail
Event Timeline
Comment Actions
I think the C++ standard says this code should work, despite being stupid. But the const should be there anyway, because it doesn't modify anything.
clang-format: please reformat the code
- MergeList.sort( - [] (const CombineInfo &A, const CombineInfo &B) { - return A.Offset < B.Offset; - }); + MergeList.sort([](const CombineInfo &A, const CombineInfo &B) { + return A.Offset < B.Offset; + });