File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -67,10 +67,10 @@ void cmdVerbosity(const int _verbosity)
67
67
}
68
68
69
69
// ////////////////////////////////////////////////
70
- const char * worldInstallDir ()
70
+ const std::string worldInstallDir ()
71
71
{
72
72
static std::string worldInstallDir = gz::sim::getWorldInstallDir ();
73
- return worldInstallDir. c_str () ;
73
+ return worldInstallDir;
74
74
}
75
75
76
76
// ////////////////////////////////////////////////
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ char *simVersionHeader();
34
34
// / \param[in] _verbosity 0 to 4
35
35
void cmdVerbosity (const int _verbosity);
36
36
37
- const char * worldInstallDir ();
37
+ const std::string worldInstallDir ();
38
38
39
39
// / \brief External hook to run simulation server.
40
40
// / \param[in] _sdfString SDF file to run, as a string.
You can’t perform that action at this time.
0 commit comments