summaryrefslogtreecommitdiffstats
path: root/src/corelib/text/qbytearraylist.h
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2012-06-25 17:41:51 +0200
committerLars Knoll <lars.knoll@qt.io>2019-12-08 18:20:04 +0100
commit00fbc087dd54b31e97b1557766b037b00120c43f (patch)
treeacb1341467ca05d47ee3326983d9dd7718cc41f5 /src/corelib/text/qbytearraylist.h
parente58b44d557b859b7b55869f1e137aa1bc8968307 (diff)
Inline the size and data pointers in QByteArray
Change-Id: I82feeb2c9bd2900f421fc0c8d78698b1e83db043 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/corelib/text/qbytearraylist.h')
-rw-r--r--src/corelib/text/qbytearraylist.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/corelib/text/qbytearraylist.h b/src/corelib/text/qbytearraylist.h
index e113c6059c..d02fa6d20f 100644
--- a/src/corelib/text/qbytearraylist.h
+++ b/src/corelib/text/qbytearraylist.h
@@ -80,11 +80,6 @@ public:
inline QByteArray join(char sep) const
{ return QtPrivate::QByteArrayList_join(self(), &sep, 1); }
-#if 0
- inline int indexOf(const char *needle, int from = 0) const
- { return QtPrivate::QByteArrayList_indexOf(self(), needle, from); }
-#endif
-
private:
typedef QVector<QByteArray> Self;
Self *self() { return static_cast<Self *>(this); }