diff options
Diffstat (limited to 'src/corelib/io/qtextstream.cpp')
-rw-r--r-- | src/corelib/io/qtextstream.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/io/qtextstream.cpp b/src/corelib/io/qtextstream.cpp index a6d58c760f..dd0ab85119 100644 --- a/src/corelib/io/qtextstream.cpp +++ b/src/corelib/io/qtextstream.cpp @@ -393,7 +393,7 @@ public: }; inline bool getChar(QChar *ch); - inline void ungetChar(const QChar &ch); + inline void ungetChar(QChar ch); NumberParsingStatus getNumber(qulonglong *l); bool getReal(double *f); @@ -943,7 +943,7 @@ inline bool QTextStreamPrivate::getChar(QChar *ch) /*! \internal */ -inline void QTextStreamPrivate::ungetChar(const QChar &ch) +inline void QTextStreamPrivate::ungetChar(QChar ch) { if (string) { if (stringOffset == 0) |