diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-03-25 14:35:53 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-03-25 14:39:39 +0100 |
commit | 780223e30b5909aeaee2b0beb0780a8d8ac3168c (patch) | |
tree | 2f9ffe900b2577af6ccedbb0d0831e87b20c5b36 /sources | |
parent | 3c499d528bea663ee3ddfeedb101fca505e7e4d6 (diff) |
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 <tismer@stackless.com>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources')
-rw-r--r-- | sources/shiboken6/ApiExtractor/textstream.h | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |