Remove -Wno-extra-semi, add workaround for mjSORT confusing some IDEs

PiperOrigin-RevId: 808689636
Change-Id: Ia091fb597c171a33842e62690d06f32614fbe4eb
This commit is contained in:
Yuval Tassa
2025-09-18 12:26:58 -07:00
committed by Copybara-Service
parent 60cb976e82
commit 681f5767b2
9 changed files with 10 additions and 13 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ int CompareSortable(const Sortable* a, const Sortable* b, void* context) {
}
// Instantiate the sort function.
mjSORT(SortSortable, Sortable, CompareSortable)
mjSORT(SortSortable, Sortable, CompareSortable);
// Generate data for sorting benchmarks.
std::vector<Sortable> GenerateData(int n, double unsorted_fraction) {