Add semicolons after mjSORT macro calls.
PiperOrigin-RevId: 808587320 Change-Id: I9fd290b9a2b615647135f1250e87af8ea9bb81f6
This commit is contained in:
committed by
Copybara-Service
parent
0e61a4ac5e
commit
4b8454b79c
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user