Fix IniFile to use string& instead of char*

Also removes .c_str() usages where found.
This commit is contained in:
Matthew Parlane 2014-02-08 18:50:37 +13:00
commit 3fe05e0a9f
17 changed files with 205 additions and 218 deletions

View file

@ -246,7 +246,7 @@ void LogInfo(const char *format, ...)
{
std::string text = temp;
text += '\n';
arLog.push_back(text.c_str());
arLog.push_back(text);
}
}
}