diff options
Diffstat (limited to 'JavaScriptCore/profiler/Profile.cpp')
-rw-r--r-- | JavaScriptCore/profiler/Profile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/JavaScriptCore/profiler/Profile.cpp b/JavaScriptCore/profiler/Profile.cpp index c90f9b0..126e6f6 100644 --- a/JavaScriptCore/profiler/Profile.cpp +++ b/JavaScriptCore/profiler/Profile.cpp @@ -127,7 +127,7 @@ void Profile::debugPrintDataSampleStyle() const std::sort(sortedFunctions.begin(), sortedFunctions.end(), functionNameCountPairComparator); for (NameCountPairVector::iterator it = sortedFunctions.begin(); it != sortedFunctions.end(); ++it) - printf(" %-12d%s\n", (*it).second, UString((*it).first).UTF8String().c_str()); + printf(" %-12d%s\n", (*it).second, UString((*it).first).UTF8String().data()); printf("\nSort by top of stack, same collapsed (when >= 5):\n"); } |