diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-03-25 14:35:53 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-03-25 15:28:10 +0000 |
commit | d186606d4b08b6932e1a9ff7191bf5d497dbce38 (patch) | |
tree | 401981a723fe065ed3d6429bced4fdd58de0cb98 /sources | |
parent | becf20de7cda9a98801e109f542aab4ac9fa96ad (diff) |
shiboken6: Fix 32 bit builds
Remove ambiguous overload of TextStream operator for this case.
Change-Id: I0e2bfccf944340a83802bae77fb45e17f055ee44
Reviewed-by: Christian Tismer <tismer@stackless.com>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
(cherry picked from commit 780223e30b5909aeaee2b0beb0780a8d8ac3168c)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
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; } |