diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2020-06-07 09:36:24 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2020-06-10 18:36:25 (GMT) |
commit | 1fa64cc88d0400eccb85fe4a687a269870fc3017 (patch) | |
tree | 32f21f1e5e6540e7729b0b21698c3fe89a94bcbf /src/ftextstream.h | |
parent | 95f9c89d6aa0008321c2ee8a0f3b1a4602789395 (diff) | |
download | Doxygen-1fa64cc88d0400eccb85fe4a687a269870fc3017.zip Doxygen-1fa64cc88d0400eccb85fe4a687a269870fc3017.tar.gz Doxygen-1fa64cc88d0400eccb85fe4a687a269870fc3017.tar.bz2 |
Refactor: make QCString a wrapper around std::string
Diffstat (limited to 'src/ftextstream.h')
-rw-r--r-- | src/ftextstream.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ftextstream.h b/src/ftextstream.h index bfc5bd5..5b6a9ca 100644 --- a/src/ftextstream.h +++ b/src/ftextstream.h @@ -60,7 +60,8 @@ inline FTextStream &FTextStream::operator<<( const char* s) inline FTextStream &FTextStream::operator<<( const QCString &s) { - return operator<<(s.data()); + if (m_dev) m_dev->writeBlock( s, s.length() ); + return *this; } typedef FTextStream & (*FTSFUNC)(FTextStream &);// manipulator function |