Convert most 0/NULL pointers to nullptr

Courtesy of llvm cpp11-migrate 3.3
This commit is contained in:
Nils Maier 2013-08-20 18:57:17 +02:00
parent 9da17424c6
commit d8f44ef4f6
87 changed files with 253 additions and 253 deletions

View file

@ -37,7 +37,7 @@ void GrowSegmentTest::testClear()
GrowSegment segment(std::shared_ptr<Piece>(new Piece()));
segment.updateWrittenLength(32*1024);
CPPUNIT_ASSERT_EQUAL(32*1024, segment.getWrittenLength());
segment.clear(0);
segment.clear(nullptr);
CPPUNIT_ASSERT_EQUAL(0, segment.getWrittenLength());
}