summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorOliver Sander <oliver.sander@tu-dresden.de>2018-11-09 18:42:04 +0100
committerAlbert Astals Cid <tsdgeos@yahoo.es>2018-11-11 22:07:02 +0000
commit817b0f12453985c416a0388cdd4a09697d092b7f (patch)
tree10c369ab08ee87097a9691daa0633cbc8a92a4da /test
parentfb7f34b1f9706c4912384eabd5dbf44b6c88c71d (diff)
Rename GooString::getCString GooString::c_str
This is the name used by std::string.
Diffstat (limited to 'test')
-rw-r--r--test/perf-test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/perf-test.cc b/test/perf-test.cc
index 7372a79b..07669300 100644
--- a/test/perf-test.cc
+++ b/test/perf-test.cc
@@ -879,7 +879,7 @@ static void RenderPdfAsText(const char *fileName)
timeInMs = msTimer.getElapsed();
if (gfTimings)
LogInfo("page %d: %.2f ms\n", curPage, timeInMs);
- printf("%s\n", txt->getCString());
+ printf("%s\n", txt->c_str());
delete txt;
txt = nullptr;
}