Change signature of TryCompile so that *m isn't strewn across the function.
PiperOrigin-RevId: 468685571 Change-Id: I61e5b0cff29a0b1fc1a88bc088dc73f48b95c800
This commit is contained in:
committed by
Copybara-Service
parent
d466e390fc
commit
7bd686cd87
@@ -153,7 +153,7 @@ class mjCModel {
|
||||
int nuser_sensor; // number of mjtNums in sensor_user
|
||||
|
||||
private:
|
||||
void TryCompile(mjModel** m, mjData** data, const mjVFS* vfs);
|
||||
void TryCompile(mjModel*& m, mjData*& d, const mjVFS* vfs);
|
||||
|
||||
void Clear(void); // clear objects allocated by Compile
|
||||
|
||||
|
||||
Reference in New Issue
Block a user