summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qregexp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/tools/qregexp.cpp')
-rw-r--r--src/corelib/tools/qregexp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/tools/qregexp.cpp b/src/corelib/tools/qregexp.cpp
index 59a54f3eb7..433939fe3e 100644
--- a/src/corelib/tools/qregexp.cpp
+++ b/src/corelib/tools/qregexp.cpp
@@ -1701,7 +1701,7 @@ void QRegExpEngine::dump() const
void QRegExpEngine::setup()
{
- ref = 1;
+ ref.store(1);
#ifndef QT_NO_REGEXP_CAPTURE
f.resize(32);
nf = 0;