summaryrefslogtreecommitdiffstats
path: root/src/corelib/text/qbytearray.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/text/qbytearray.cpp')
-rw-r--r--src/corelib/text/qbytearray.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/corelib/text/qbytearray.cpp b/src/corelib/text/qbytearray.cpp
index afe2620c7f..16672683e9 100644
--- a/src/corelib/text/qbytearray.cpp
+++ b/src/corelib/text/qbytearray.cpp
@@ -3079,10 +3079,6 @@ QDataStream &operator>>(QDataStream &in, QByteArray &ba)
\sa QByteArray::compare()
*/
-bool operator==(const QByteArray &a1, const QByteArray &a2) noexcept
-{
- return (a1.size() == a2.size()) && (memcmp(a1.constData(), a2.constData(), a1.size())==0);
-}
/*! \fn bool operator==(const QByteArray &a1, const char *a2)
\relates QByteArray