diff options
author | Stephen Kelly <stephen.kelly@kdab.com> | 2012-01-09 18:50:08 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-01-09 19:04:57 +0100 |
commit | f74c49bbaf7979a4df15eb13556d91be20e9483e (patch) | |
tree | 61520ea1e0f5ac4099ae52ba5d60b15adcc37d96 /tests/auto/other/qsharedpointer_and_qwidget | |
parent | 696a6b57d12e6bb4edbf087b10ff5a008424fc59 (diff) |
Avoid using 'check' in QSharedPointer test.
Avoids conflict with macro on Mac OS.
Change-Id: Ia8301f52c879d941eece0fa6ae47a4c21d4e6490
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto/other/qsharedpointer_and_qwidget')
-rw-r--r-- | tests/auto/other/qsharedpointer_and_qwidget/tst_qsharedpointer_and_qwidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/other/qsharedpointer_and_qwidget/tst_qsharedpointer_and_qwidget.cpp b/tests/auto/other/qsharedpointer_and_qwidget/tst_qsharedpointer_and_qwidget.cpp index 3ead01146d..3cda8ed1ee 100644 --- a/tests/auto/other/qsharedpointer_and_qwidget/tst_qsharedpointer_and_qwidget.cpp +++ b/tests/auto/other/qsharedpointer_and_qwidget/tst_qsharedpointer_and_qwidget.cpp @@ -62,10 +62,10 @@ private slots: void strong_sharedptrDelete(); public slots: - void cleanup() { check(); } + void cleanup() { safetyCheck(); } public: - inline void check() + inline void safetyCheck() { #ifdef QT_BUILD_INTERNAL QtSharedPointer::internalSafetyCheckCleanCheck(); |