modernize C++: use transparent functors

This commit is contained in:
wmayer
2023-08-07 13:31:19 +02:00
committed by wwmayer
parent 31ed14db83
commit b6f331f4fa
7 changed files with 13 additions and 11 deletions

View File

@@ -337,7 +337,7 @@ void MeshFastBuilder::Finish ()
//std::sort(verts.begin(), verts.end());
int threads = QThread::idealThreadCount();
MeshCore::parallel_sort(verts.begin(), verts.end(), std::less<Private::Vertex>(), threads);
MeshCore::parallel_sort(verts.begin(), verts.end(), std::less<>(), threads);
QVector<FacetIndex> indices(ulCtPts);