diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-11-11 14:14:00 +0100 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-11-12 16:46:13 +0000 |
| commit | 08de60ee184f353e271d0fd788c0769ab57ec719 (patch) | |
| tree | 0feec17ca9a3c179e41e138a13160351cb237a05 /sources/shiboken6/ApiExtractor/tests/testaddfunction.cpp | |
| parent | 696c2831613aefdaca83520e4b7dbd9a57d91d3f (diff) | |
shiboken6: Port Modifications to use QSharedDataPointer
For caching in AbstractMetaFunction, they should be lightweight
to copy around.
Change-Id: Ic54293fcaf25ffe05f6930111870b2546f907d17
Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/shiboken6/ApiExtractor/tests/testaddfunction.cpp')
| -rw-r--r-- | sources/shiboken6/ApiExtractor/tests/testaddfunction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/shiboken6/ApiExtractor/tests/testaddfunction.cpp b/sources/shiboken6/ApiExtractor/tests/testaddfunction.cpp index fde5b3dfb..83720b8cb 100644 --- a/sources/shiboken6/ApiExtractor/tests/testaddfunction.cpp +++ b/sources/shiboken6/ApiExtractor/tests/testaddfunction.cpp @@ -312,7 +312,7 @@ void TestAddFunction::testAddFunctionAtModuleLevel() QCOMPARE(mods.size(), 1); QVERIFY(mods.constFirst().isCodeInjection()); - CodeSnip snip = mods.constFirst().snips.constFirst(); + CodeSnip snip = mods.constFirst().snips().constFirst(); QCOMPARE(snip.code().trimmed(), QLatin1String("custom_code();")); } |
