Move schema definition validation from runtime to a test.
PiperOrigin-RevId: 606280564 Change-Id: I9fec9eb3538f63f84e1982f21e1a93f16342d540
This commit is contained in:
committed by
Copybara-Service
parent
b6873ec8a2
commit
eabd4c06f9
+1
-1
@@ -56,7 +56,7 @@ class [[nodiscard]] mjXError {
|
||||
// Custom XML file validation
|
||||
class mjXSchema {
|
||||
public:
|
||||
mjXSchema(const char* schema[][mjXATTRNUM], unsigned nrow, bool checkptr = true);
|
||||
mjXSchema(const char* schema[][mjXATTRNUM], unsigned nrow);
|
||||
|
||||
std::string GetError(); // return error
|
||||
void Print(std::stringstream& str, int level) const; // print schema
|
||||
|
||||
Reference in New Issue
Block a user