src/corelib/tools/qbytearraymatcher.cpp
changeset 33 3e2da88830cd
parent 18 2f34d5167611
--- a/src/corelib/tools/qbytearraymatcher.cpp	Tue Jul 06 15:10:48 2010 +0300
+++ b/src/corelib/tools/qbytearraymatcher.cpp	Wed Aug 18 10:37:55 2010 +0300
@@ -171,7 +171,7 @@
 QByteArrayMatcher &QByteArrayMatcher::operator=(const QByteArrayMatcher &other)
 {
     q_pattern = other.q_pattern;
-    qMemCopy(&p, &other.p, sizeof(p));
+    memcpy(&p, &other.p, sizeof(p));
     return *this;
 }