diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2012-03-06 22:47:07 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-03-14 16:03:17 +0100 |
commit | d9a3041a5d312832d8cec09bfe89979a1a4a6d85 (patch) | |
tree | 274f3aa3395d1dae5f9a5ac1493ab3b79415a947 /src/corelib/io/qdatastream.h | |
parent | 6ec0823fd1802988a8ca84e361abc68107723171 (diff) |
QDirIterator, QDataStream: remove virtual dtor
These two classes are not meant to be polymorphic,
and have no other other virtual functions besides
the destructor, so remove the overhead of the
vtable completely.
Change-Id: I08b93898312c2fbbe4db92d4f1c444c6417fe19a
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'src/corelib/io/qdatastream.h')
-rw-r--r-- | src/corelib/io/qdatastream.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/io/qdatastream.h b/src/corelib/io/qdatastream.h index 752246a543..451a7ab959 100644 --- a/src/corelib/io/qdatastream.h +++ b/src/corelib/io/qdatastream.h @@ -114,7 +114,7 @@ public: explicit QDataStream(QIODevice *); QDataStream(QByteArray *, QIODevice::OpenMode flags); QDataStream(const QByteArray &); - virtual ~QDataStream(); + ~QDataStream(); QIODevice *device() const; void setDevice(QIODevice *); |