Skip to content

Commit

Permalink
Avoid using std::nullptr_t for portability
Browse files Browse the repository at this point in the history
  • Loading branch information
steveire committed Jul 23, 2019
1 parent 83ca3ef commit 9c13a2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/tests/testbuiltins.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 9c13a2a

Please sign in to comment.