diff options
author | Alex Trotsenko <alex1973tr@gmail.com> | 2014-10-08 17:34:33 +0300 |
---|---|---|
committer | Alex Trotsenko <alex1973tr@gmail.com> | 2015-01-20 10:37:59 +0100 |
commit | a373ffcda9b2e7b38509dcb2e772b86d67a72c80 (patch) | |
tree | 6b0cc986d29c574ec19ba4f2416e20ea14c9d4d6 /src/corelib/io/qiodevice_p.h | |
parent | bdcb3f9aab139e31849aec46088dce52ba7673eb (diff) |
QIODevice: remove ineffective caching members
Most of the QIODevice functions already have a locally cached
"sequential" flag. Make the rest of them follow this strategy.
This eliminates the need to use private caching members.
Change-Id: I0edb2c9b7c5f411c5bee25c425e7b40e3c9021d3
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: hjk <hjk@theqtcompany.com>
Diffstat (limited to 'src/corelib/io/qiodevice_p.h')
-rw-r--r-- | src/corelib/io/qiodevice_p.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/corelib/io/qiodevice_p.h b/src/corelib/io/qiodevice_p.h index d764cb0fbb..ac76f8ded8 100644 --- a/src/corelib/io/qiodevice_p.h +++ b/src/corelib/io/qiodevice_p.h @@ -209,10 +209,6 @@ public: QIODevicePrivateLinearBuffer buffer; qint64 pos; qint64 devicePos; - // these three are for fast position updates during read, avoiding isSequential test - qint64 seqDumpPos; - qint64 *pPos; - qint64 *pDevicePos; bool baseReadLineDataCalled; bool firstRead; |