Rename variables to avoid shadowing in xml_native_reader.cc

PiperOrigin-RevId: 780135233
Change-Id: I509ac6a0807e102ad8749f81562ad45bf4c04335
This commit is contained in:
Yuval Tassa
2025-07-07 09:08:54 -07:00
committed by Copybara-Service
parent 783e6499d8
commit e01c4b454a
2 changed files with 53 additions and 53 deletions
+3 -3
View File
@@ -42,9 +42,9 @@ class mjXReader : public mjXBase {
void SetTextureDir(const std::string& texturedir);
// XML sections embedded in all formats
static void Compiler(tinyxml2::XMLElement* section, mjSpec* spec); // compiler section
static void Option(tinyxml2::XMLElement* section, mjOption* opt); // option section
static void Size(tinyxml2::XMLElement* section, mjSpec* spec); // size section
static void Compiler(tinyxml2::XMLElement* section, mjSpec* s); // compiler section
static void Option(tinyxml2::XMLElement* section, mjOption* opt); // option section
static void Size(tinyxml2::XMLElement* section, mjSpec* s); // size section
private:
// XML section specific to MJCF