summaryrefslogtreecommitdiffstats
path: root/tests/auto/other/toolsupport
diff options
context:
space:
mode:
authorAlex Trotsenko <alex1973tr@gmail.com>2014-10-08 17:34:33 +0300
committerAlex Trotsenko <alex1973tr@gmail.com>2015-01-20 10:37:59 +0100
commita373ffcda9b2e7b38509dcb2e772b86d67a72c80 (patch)
tree6b0cc986d29c574ec19ba4f2416e20ea14c9d4d6 /tests/auto/other/toolsupport
parentbdcb3f9aab139e31849aec46088dce52ba7673eb (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 'tests/auto/other/toolsupport')
-rw-r--r--tests/auto/other/toolsupport/tst_toolsupport.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/other/toolsupport/tst_toolsupport.cpp b/tests/auto/other/toolsupport/tst_toolsupport.cpp
index d4ee3f4c50..0785033621 100644
--- a/tests/auto/other/toolsupport/tst_toolsupport.cpp
+++ b/tests/auto/other/toolsupport/tst_toolsupport.cpp
@@ -114,7 +114,7 @@ void tst_toolsupport::offsets_data()
if (sizeof(void *) == 8) {
QTestData &data = QTest::newRow("QFilePrivate::fileName")
<< pmm_to_offsetof(&QFilePrivate::fileName);
- data << -1 << 272;
+ data << -1 << 248;
}
#endif