Kill off some usages of c_str.

Also changes some function params, but this is ok.
Some simplifications were also able to be made (ie. killing off strcmps with ==, etc).
This commit is contained in:
Lioncash committed 2014-03-14 13:51:23 -04:00
1 parent dccc6d8b47
commit a82675b7d5
170 files changed
+812 -704

No files matched your search

+2 -1
View File
@@ -2,6 +2,7 @@
// Licensed under GPLv2
// Refer to the license.txt file included.
#include <string>
#include "Core/PowerPC/JitInterface.h"
namespace Profiler
@@ -10,7 +11,7 @@ namespace Profiler
bool g_ProfileBlocks;
bool g_ProfileInstructions;
void WriteProfileResults(const char *filename)
void WriteProfileResults(const std::string& filename)
{
JitInterface::WriteProfileResults(filename);
}