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:
1 parent
dccc6d8b47
commit
a82675b7d5
170 files changed
+812
-704
No files matched your search
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user