aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/ApiExtractor/tests/testremoveoperatormethod.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken6/ApiExtractor/tests/testremoveoperatormethod.cpp')
-rw-r--r--sources/shiboken6/ApiExtractor/tests/testremoveoperatormethod.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/shiboken6/ApiExtractor/tests/testremoveoperatormethod.cpp b/sources/shiboken6/ApiExtractor/tests/testremoveoperatormethod.cpp
index 0a75c4e6d..a6d929c8f 100644
--- a/sources/shiboken6/ApiExtractor/tests/testremoveoperatormethod.cpp
+++ b/sources/shiboken6/ApiExtractor/tests/testremoveoperatormethod.cpp
@@ -15,7 +15,7 @@ using namespace Qt::StringLiterals;
void TestRemoveOperatorMethod::testRemoveOperatorMethod()
{
- const char* cppCode ="\
+ const char cppCode[] = "\
#include <stdint.h>\n\
\n\
struct Char {};\n\
@@ -37,7 +37,7 @@ void TestRemoveOperatorMethod::testRemoveOperatorMethod()
A& operator>>(ByteArray&);\n\
A& operator>>(String&);\n\
};\n";
- const char* xmlCode = "\
+ const char xmlCode[] = "\
<typesystem package='Foo'>\n\
<primitive-type name='char'/>\n\
<primitive-type name='short'/>\n\