diff options
author | Friedemann Kleint <Friedemann.Kleint@digia.com> | 2014-07-10 08:57:55 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@digia.com> | 2014-07-10 09:02:04 +0200 |
commit | 27797cb37a63eceed77e9b6c790eaaf9c438b360 (patch) | |
tree | 352e6332677ad198f732c1b5f258aea48a7d18ad /tests/benchmarks | |
parent | 84c5e4866f8e825da306b8520f95b124e7c2c3ab (diff) |
MSVC: Fix the compilation of benchmark tests with strict string literals.
Introduced by 9f0e5d00ab51cc7c0dc87c8d72f48c4e6edaf120 .
Change-Id: I704501bd7e543d971f9b8c9e75746b5749126c5f
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@digia.com>
Diffstat (limited to 'tests/benchmarks')
-rw-r--r-- | tests/benchmarks/gui/kernel/qapplication/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/benchmarks/gui/kernel/qapplication/main.cpp b/tests/benchmarks/gui/kernel/qapplication/main.cpp index c319b2bcc6..dcf3ca75b6 100644 --- a/tests/benchmarks/gui/kernel/qapplication/main.cpp +++ b/tests/benchmarks/gui/kernel/qapplication/main.cpp @@ -60,7 +60,7 @@ void tst_qapplication::ctor() { // simulate reasonable argc, argv int argc = 1; - char *argv[] = { "tst_qapplication" }; + char *argv[] = { const_cast<char*>("tst_qapplication") }; QBENCHMARK { QApplication app(argc, argv); } |