From b384be8ae195dd52f4f7ca18b0790e8b2793c314 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Fri, 8 Jul 2011 14:26:38 +0200 Subject: Use QAtomicInt instead of QBasicAtomicInt None of these classes are POD, so they don't need to use the POD version of QAtomicInt. Change-Id: Ic7b134c85c4b314560ae79250e05159ffde74dfe Merge-request: 1 Reviewed-by: Jedrzej Nowacki Reviewed-on: http://codereview.qt.nokia.com/1377 Reviewed-by: Qt Sanity Bot Reviewed-by: Nierob --- src/scripttools/debugging/qscriptdebuggerconsolecommandgroupdata.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/scripttools/debugging/qscriptdebuggerconsolecommandgroupdata.cpp') diff --git a/src/scripttools/debugging/qscriptdebuggerconsolecommandgroupdata.cpp b/src/scripttools/debugging/qscriptdebuggerconsolecommandgroupdata.cpp index 672372e..7822e12 100644 --- a/src/scripttools/debugging/qscriptdebuggerconsolecommandgroupdata.cpp +++ b/src/scripttools/debugging/qscriptdebuggerconsolecommandgroupdata.cpp @@ -62,12 +62,11 @@ public: QString shortDescription; QString longDescription; - QBasicAtomicInt ref; + QAtomicInt ref; }; QScriptDebuggerConsoleCommandGroupDataPrivate::QScriptDebuggerConsoleCommandGroupDataPrivate() { - ref = 0; } QScriptDebuggerConsoleCommandGroupDataPrivate::~QScriptDebuggerConsoleCommandGroupDataPrivate() -- cgit v1.2.1