Rename xml_native_writer variables to be consistent with xml_native_reader.
PiperOrigin-RevId: 663699130 Change-Id: If11ed48d3b30d3c6d09ca77e3d8048c2a3d9f054
This commit is contained in:
committed by
Copybara-Service
parent
cfc7dc9848
commit
e0e08aa597
@@ -2304,7 +2304,7 @@ void mjXReader::OneActuator(XMLElement* elem, mjsActuator* actuator) {
|
||||
|
||||
|
||||
// make composite
|
||||
void mjXReader::OneComposite(XMLElement* elem, mjsBody* pbody, mjsDefault* def) {
|
||||
void mjXReader::OneComposite(XMLElement* elem, mjsBody* body, mjsDefault* def) {
|
||||
string text;
|
||||
int n;
|
||||
|
||||
@@ -2526,7 +2526,7 @@ void mjXReader::OneComposite(XMLElement* elem, mjsBody* pbody, mjsDefault* def)
|
||||
|
||||
// make composite
|
||||
char error[200];
|
||||
bool res = comp.Make(spec, pbody, error, 200);
|
||||
bool res = comp.Make(spec, body, error, 200);
|
||||
|
||||
// throw error
|
||||
if (!res) {
|
||||
|
||||
+546
-546
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user