From 780223e30b5909aeaee2b0beb0780a8d8ac3168c Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Thu, 25 Mar 2021 14:35:53 +0100 Subject: shiboken6: Fix 32 bit builds Remove ambiguous overload of TextStream operator for this case. Change-Id: I0e2bfccf944340a83802bae77fb45e17f055ee44 Pick-to: 6.0 Reviewed-by: Christian Tismer Reviewed-by: Cristian Maureira-Fredes --- sources/shiboken6/ApiExtractor/textstream.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sources') diff --git a/sources/shiboken6/ApiExtractor/textstream.h b/sources/shiboken6/ApiExtractor/textstream.h index 3744408b5..dff79b939 100644 --- a/sources/shiboken6/ApiExtractor/textstream.h +++ b/sources/shiboken6/ApiExtractor/textstream.h @@ -103,7 +103,9 @@ public: TextStream &operator<<(const char *s) { putString(s); return *this; } TextStream &operator<<(char c) { putChar(c); return *this; } TextStream &operator<<(int t) { putInt(t); return *this; } +#if QT_POINTER_SIZE != 4 TextStream &operator<<(qsizetype t) { putSizeType(t); return *this; } +#endif inline TextStream &operator<<(QTextStreamManipulator m) { m_str << m; return *this; } inline TextStream &operator<<(ManipulatorFunc f) { f(*this); return *this; } -- cgit v1.2.3