Skip to content
Permalink
Browse files

Avoid using std::nullptr_t for portability

  • Loading branch information...
steveire committed Jul 23, 2019
1 parent 83ca3ef commit 9c13a2ac3f240343077f252d1ec15eab669af8ee
Showing with 1 addition and 1 deletion.
  1. +1 −1 templates/tests/testbuiltins.cpp
@@ -344,7 +344,7 @@ void TestBuiltinSyntax::testTruthiness_data()

{
QTest::newRow("truthtest-29")
<< QVariant::fromValue<std::nullptr_t>(nullptr) << false;
<< QVariant::fromValue<QObject*>(nullptr) << false;
auto plainO = new QObject(this);
QTest::newRow("truthtest-30") << QVariant::fromValue(plainO) << true;
auto trueO = new QObject(this);

0 comments on commit 9c13a2a

Please sign in to comment.
You can’t perform that action at this time.