aboutsummaryrefslogtreecommitdiffstats
path: root/unittests/ADT/PointerUnionTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'unittests/ADT/PointerUnionTest.cpp')
-rw-r--r--unittests/ADT/PointerUnionTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/ADT/PointerUnionTest.cpp b/unittests/ADT/PointerUnionTest.cpp
index 3bfb79c..a592784 100644
--- a/unittests/ADT/PointerUnionTest.cpp
+++ b/unittests/ADT/PointerUnionTest.cpp
@@ -66,7 +66,7 @@ TEST_F(PointerUnionTest, Is) {
TEST_F(PointerUnionTest, Get) {
EXPECT_EQ(a.get<float *>(), &f);
EXPECT_EQ(b.get<int *>(), &i);
- EXPECT_EQ(n.get<int *>(), (int *)0);
+ EXPECT_EQ(n.get<int *>(), (int *)nullptr);
}
} // end anonymous namespace