summaryrefslogtreecommitdiffstats
path: root/tests/auto/qsharedpointer
diff options
context:
space:
mode:
authorOlivier Goffart <olivier.goffart@nokia.com>2010-08-04 13:14:00 (GMT)
committerOlivier Goffart <olivier.goffart@nokia.com>2010-08-04 13:14:00 (GMT)
commit5203b315aae66ada8ced60fbce3064ad92551848 (patch)
tree04c230375c0675f5658171acc3cc73d2afb0b8a5 /tests/auto/qsharedpointer
parentef2ee289926c175146e181292b2808225441307f (diff)
downloadQt-5203b315aae66ada8ced60fbce3064ad92551848.zip
Qt-5203b315aae66ada8ced60fbce3064ad92551848.tar.gz
Qt-5203b315aae66ada8ced60fbce3064ad92551848.tar.bz2
tst_qsharedpointer.cpp: fix compilation
Mistake in commit 26f43dcc70a0bcc8aec96a0ca6f648c543b97b10
Diffstat (limited to 'tests/auto/qsharedpointer')
-rw-r--r--tests/auto/qsharedpointer/tst_qsharedpointer.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/auto/qsharedpointer/tst_qsharedpointer.cpp b/tests/auto/qsharedpointer/tst_qsharedpointer.cpp
index 7b0f723..5e624e4 100644
--- a/tests/auto/qsharedpointer/tst_qsharedpointer.cpp
+++ b/tests/auto/qsharedpointer/tst_qsharedpointer.cpp
@@ -765,7 +765,6 @@ void tst_QSharedPointer::objectCast()
// again:
ptr = qobject_cast<QSharedPointer<const OtherObject> >(baseptr);
QVERIFY(ptr == data);
-#endif
}
check();
@@ -806,7 +805,6 @@ void tst_QSharedPointer::objectCast()
// again:
otherptr = qobject_cast<QSharedPointer<OtherObject> >(weakptr);
QVERIFY(otherptr.isNull());
-#endif
}
check();
}