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

@ -557,7 +557,7 @@ void DefaultBtProgressInfoFileTest::testUpdateFilename()
std::shared_ptr<DownloadContext> dctx
(new DownloadContext(1024, 81920, A2_TEST_DIR"/file1"));
DefaultBtProgressInfoFile infoFile(dctx, std::shared_ptr<MockPieceStorage>(), 0);
DefaultBtProgressInfoFile infoFile(dctx, std::shared_ptr<MockPieceStorage>(), nullptr);
#ifdef ENABLE_BITTORRENT
infoFile.setBtRuntime(btRuntime_);
infoFile.setPeerStorage(peerStorage_);