Remove destructors from Mjs wrapper structs.
PiperOrigin-RevId: 831001833 Change-Id: I54550737a4c1cb504bf62b9bfed12d7a70434233
This commit is contained in:
committed by
Copybara-Service
parent
6d261528e0
commit
fa79276290
@@ -327,7 +327,6 @@ void MjLROpt::set(mjLROpt* ptr) {
|
||||
wrapped_structs["mjsElement"].wrapped_source,
|
||||
"""
|
||||
MjsElement::MjsElement(mjsElement *ptr) : ptr_(ptr) {}
|
||||
MjsElement::~MjsElement() {}
|
||||
mjsElement* MjsElement::get() const {
|
||||
return ptr_;
|
||||
}
|
||||
@@ -355,7 +354,6 @@ void MjsElement::set(mjsElement* ptr) {
|
||||
),
|
||||
"""
|
||||
MjsTexture::MjsTexture(mjsTexture *ptr) : ptr_(ptr), element(ptr_->element) {}
|
||||
MjsTexture::~MjsTexture() {}
|
||||
mjsTexture* MjsTexture::get() const {
|
||||
return ptr_;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user