Use std::vector instead of array in MJCF schema.
PiperOrigin-RevId: 831787681 Change-Id: I8093b8b10260daecb830e49319eda798e2dd2da5
This commit is contained in:
committed by
Copybara-Service
parent
26c1622ac8
commit
8b9fa2674c
@@ -17,6 +17,7 @@
|
||||
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include <mujoco/mujoco.h>
|
||||
#include <mujoco/mjspec.h>
|
||||
@@ -102,6 +103,6 @@ class mjXReader : public mjXBase {
|
||||
|
||||
// MJCF schema
|
||||
#define nMJCF 241
|
||||
extern const char* MJCF[nMJCF][mjXATTRNUM];
|
||||
extern std::vector<const char*> MJCF[nMJCF];
|
||||
|
||||
#endif // MUJOCO_SRC_XML_XML_NATIVE_READER_H_
|
||||
|
||||
Reference in New Issue
Block a user