diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2022-06-09 15:35:38 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2022-06-15 19:49:46 +0200 |
commit | e5e4d388ab9a8a94c341e644ad00dd8a98980063 (patch) | |
tree | ac4d30625b3044c5a2353cda818086132bcbee17 /sources | |
parent | 3977c518195289edf7802d0d1b10ba3c2d49dd96 (diff) |
shiboken6: Fix compile error in tests
sources/shiboken6/tests/libsample/functions.cpp:244:33: error: use of overloaded operator '<<' is ambiguous
(with operand types 'basic_ostream<char, std::__1::char_traits<char> >' and 'std::nullptr_t' (aka 'nullptr_t'))
cout << __FUNCTION__ << ' ' << t << '\n';
Amends 8ecb8a909ecde13f179b8fce170582e47373f50c.
Pick-to: 6.3
Task-number: PYSIDE-854
Change-Id: Ifd2bb6ac4bf27ebcb240359020a6f8e18dbfef79
Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources')
-rw-r--r-- | sources/shiboken6/tests/libsample/functions.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/shiboken6/tests/libsample/functions.cpp b/sources/shiboken6/tests/libsample/functions.cpp index 44246fa73..7325aad3a 100644 --- a/sources/shiboken6/tests/libsample/functions.cpp +++ b/sources/shiboken6/tests/libsample/functions.cpp @@ -239,7 +239,7 @@ std::wstring addStdWStrings(const std::wstring &s1, const std::wstring &s2) return s1 + s2; } -void testNullPtrT(std::nullptr_t t) +void testNullPtrT(std::nullptr_t) { - cout << __FUNCTION__ << ' ' << t << '\n'; + cout << __FUNCTION__ << '\n'; } |