Add semicolons after mjSORT macro calls.

PiperOrigin-RevId: 808587320
Change-Id: I9fd290b9a2b615647135f1250e87af8ea9bb81f6
This commit is contained in:
Yuval Tassa
2025-09-18 08:12:39 -07:00
committed by Copybara-Service
parent 0e61a4ac5e
commit 4b8454b79c
4 changed files with 5 additions and 2 deletions
+1
View File
@@ -92,6 +92,7 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU" OR (CMAKE_CXX_COMPILER_ID MATCHES "Clang
-Wimplicit-fallthrough
-Wunused
-Wvla
-Wno-extra-semi
-Wno-int-in-bool-context
-Wno-sign-compare
-Wno-unknown-pragmas
+1
View File
@@ -92,6 +92,7 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU" OR (CMAKE_CXX_COMPILER_ID MATCHES "Clang
-Wimplicit-fallthrough
-Wunused
-Wvla
-Wno-extra-semi
-Wno-int-in-bool-context
-Wno-sign-compare
-Wno-unknown-pragmas
+1
View File
@@ -92,6 +92,7 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU" OR (CMAKE_CXX_COMPILER_ID MATCHES "Clang
-Wimplicit-fallthrough
-Wunused
-Wvla
-Wno-extra-semi
-Wno-int-in-bool-context
-Wno-sign-compare
-Wno-unknown-pragmas
+2 -2
View File
@@ -257,7 +257,7 @@ static inline int contactcompare(const mjContact* c1, const mjContact* c2, void*
}
// define contactSort function for sorting contacts
mjSORT(contactSort, mjContact, contactcompare)
mjSORT(contactSort, mjContact, contactcompare);
@@ -1139,7 +1139,7 @@ static inline int uintcmp(int* i, int* j, void* context) {
}
// define bfsort function for sorting bodyflex pairs
mjSORT(bfsort, int, uintcmp)
mjSORT(bfsort, int, uintcmp);
// broadphase collision detector