Raise error when binding to a removed element.

PiperOrigin-RevId: 774462737
Change-Id: I820c0e1c010ae9fbf6d9667c3364d4b65bf21002
This commit is contained in:
Alessio Quaglino
2025-06-22 10:14:40 -07:00
committed by Copybara-Service
parent 419cdf1ff3
commit a00bfa819c
9 changed files with 19 additions and 77 deletions
-3
View File
@@ -229,9 +229,6 @@ class mjCModel : public mjCModel_, private mjSpec {
// delete object from the corresponding list
void operator-=(mjsElement* el);
// delete object
void DeleteElement(mjsElement* el);
// delete default and all descendants
void RemoveDefault(mjCDef* def);