Rename xml_native_writer variables to be consistent with xml_native_reader.

PiperOrigin-RevId: 663699130
Change-Id: If11ed48d3b30d3c6d09ca77e3d8048c2a3d9f054
This commit is contained in:
Yuval Tassa
2024-08-16 05:33:45 -07:00
committed by Copybara-Service
parent cfc7dc9848
commit e0e08aa597
2 changed files with 548 additions and 548 deletions
+2 -2
View File
@@ -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) {
File diff suppressed because it is too large Load Diff