trackgen: remove redundant c_str()
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8422 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: 9c8f85dbf0c8f95193d1695c4f7ff1bab35c2f09 Former-commit-id: a5cb9c53e8c6e338547632c6bb261dae5468402c
This commit is contained in:
parent
1d92330748
commit
e89bcc7063
1 changed files with 2 additions and 2 deletions
|
@ -206,7 +206,7 @@ bool Application::parseOptions()
|
|||
}
|
||||
else if (itOpt->strLongName == "name")
|
||||
{
|
||||
TrackName = itOpt->strValue.c_str();
|
||||
TrackName = itOpt->strValue;
|
||||
}
|
||||
else if (itOpt->strLongName == "saveelev")
|
||||
{
|
||||
|
@ -215,7 +215,7 @@ bool Application::parseOptions()
|
|||
}
|
||||
else if (itOpt->strLongName == "category")
|
||||
{
|
||||
TrackCategory = itOpt->strValue.c_str();
|
||||
TrackCategory = itOpt->strValue;
|
||||
}
|
||||
else if (itOpt->strLongName == "steps4")
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue