diff options
Diffstat (limited to 'unittests/ADT/SCCIteratorTest.cpp')
-rw-r--r-- | unittests/ADT/SCCIteratorTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/ADT/SCCIteratorTest.cpp b/unittests/ADT/SCCIteratorTest.cpp index 8609732fda..3f1ba1c584 100644 --- a/unittests/ADT/SCCIteratorTest.cpp +++ b/unittests/ADT/SCCIteratorTest.cpp @@ -213,7 +213,7 @@ public: // Return a pointer to it. return FirstNode + i; assert(false && "Dereferencing end iterator!"); - return 0; // Avoid compiler warning. + return nullptr; // Avoid compiler warning. } }; |