summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2018-09-23 02:09:50 +0200
committerAlbert Astals Cid <aacid@kde.org>2018-09-23 02:09:50 +0200
commit297e6944a67c1891b9ba194fff0562352a5f8d1f (patch)
treef5aef33f44cb93f3eddc8fbc10e16fb59e293641 /test
parent139748612d18c8e0d701003067eb1838b202267c (diff)
Error: Make the msg be const
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 ea86c910..2db7ceeb 100644
--- a/test/perf-test.cc
+++ b/test/perf-test.cc
@@ -739,7 +739,7 @@ static void StrList_Destroy(StrList **root)
*root = nullptr;
}
-static void my_error(void *, ErrorCategory, Goffset pos, char *msg) {
+static void my_error(void *, ErrorCategory, Goffset pos, const char *msg) {
#if 0
char buf[4096], *p = buf;