summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/tools/qalgorithms
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/corelib/tools/qalgorithms')
-rw-r--r--tests/auto/corelib/tools/qalgorithms/tst_qalgorithms.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/auto/corelib/tools/qalgorithms/tst_qalgorithms.cpp b/tests/auto/corelib/tools/qalgorithms/tst_qalgorithms.cpp
index e0062b9118..76ae592011 100644
--- a/tests/auto/corelib/tools/qalgorithms/tst_qalgorithms.cpp
+++ b/tests/auto/corelib/tools/qalgorithms/tst_qalgorithms.cpp
@@ -167,42 +167,42 @@ void tst_QAlgorithms::swap()
}
{
- void *a = 0, *b = 0;
+ void *a = nullptr, *b = nullptr;
qSwap(a, b);
}
{
- const void *a = 0, *b = 0;
+ const void *a = nullptr, *b = nullptr;
qSwap(a, b);
}
{
- QString *a = 0, *b = 0;
+ QString *a = nullptr, *b = nullptr;
qSwap(a, b);
}
{
- const QString *a = 0, *b = 0;
+ const QString *a = nullptr, *b = nullptr;
qSwap(a, b);
}
{
- QString **a = 0, **b = 0;
+ QString **a = nullptr, **b = nullptr;
qSwap(a, b);
}
{
- const QString **a = 0, **b = 0;
+ const QString **a = nullptr, **b = nullptr;
qSwap(a, b);
}
{
- QString * const *a = 0, * const *b = 0;
+ QString * const *a = nullptr, * const *b = nullptr;
qSwap(a, b);
}
{
- const QString * const *a = 0, * const *b = 0;
+ const QString * const *a = nullptr, * const *b = nullptr;
qSwap(a, b);
}
}