summaryrefslogtreecommitdiffstats
path: root/src/script/api/qscriptprogram.cpp
diff options
context:
space:
mode:
authorThiago Macieira <[email protected]>2011-07-08 14:26:38 +0200
committerQt by Nokia <[email protected]>2011-07-08 15:21:28 +0200
commitb384be8ae195dd52f4f7ca18b0790e8b2793c314 (patch)
treeab1732f3868cd6f2c6baeaf1bd990313cddd4544 /src/script/api/qscriptprogram.cpp
parent72d76bc759b754d3784f09d80634a14ea1712fe7 (diff)
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 <[email protected]> Reviewed-on: http://codereview.qt.nokia.com/1377 Reviewed-by: Qt Sanity Bot <[email protected]> Reviewed-by: Nierob <[email protected]>
Diffstat (limited to 'src/script/api/qscriptprogram.cpp')
-rw-r--r--src/script/api/qscriptprogram.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/script/api/qscriptprogram.cpp b/src/script/api/qscriptprogram.cpp
index c0e2656..b641a5a 100644
--- a/src/script/api/qscriptprogram.cpp
+++ b/src/script/api/qscriptprogram.cpp
@@ -57,7 +57,6 @@ QScriptProgramPrivate::QScriptProgramPrivate(const QString &src,
: sourceCode(src), fileName(fn), firstLineNumber(ln),
engine(0), _executable(0), sourceId(-1), isCompiled(false)
{
- ref = 0;
}
QScriptProgramPrivate::~QScriptProgramPrivate()