OSDN Git Service
(root)
/
kde
/
Katie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
299aaf8
)
mark QBufferPrivate::peek() methods as final
author
Ivailo Monev
<xakepa10@laimg.moc>
Sat, 18 Jan 2020 06:16:36 +0000
(06:16 +0000)
committer
Ivailo Monev
<xakepa10@laimg.moc>
Sat, 18 Jan 2020 06:16:36 +0000
(06:16 +0000)
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
src/core/io/qbuffer.cpp
patch
|
blob
|
history
diff --git
a/src/core/io/qbuffer.cpp
b/src/core/io/qbuffer.cpp
index
f473310
..
346a470
100644
(file)
--- a/
src/core/io/qbuffer.cpp
+++ b/
src/core/io/qbuffer.cpp
@@
-54,8
+54,8
@@
public:
QByteArray defaultBuf;
qint64 ioIndex;
-
virtual qint64 peek(char *data, qint64 maxSize)
;
-
virtual QByteArray peek(qint64 maxSize)
;
+
qint64 peek(char *data, qint64 maxSize) final
;
+
QByteArray peek(qint64 maxSize) final
;
#ifndef QT_NO_QOBJECT
// private slots