Change signature of TryCompile so that *m isn't strewn across the function.

PiperOrigin-RevId: 468685571
Change-Id: I61e5b0cff29a0b1fc1a88bc088dc73f48b95c800
This commit is contained in:
Saran Tunyasuvunakool
2022-08-19 06:11:27 -07:00
committed by Copybara-Service
parent d466e390fc
commit 7bd686cd87
2 changed files with 42 additions and 42 deletions
+1 -1
View File
@@ -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