From: Carl Hetherington Date: Sun, 19 Jun 2022 21:01:15 +0000 (+0200) Subject: 0 -> nullptr cleanup. X-Git-Tag: v2.16.15~4 X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=a88d2f3f6d52bab4d032ed0d5d02586d51a0cb9d 0 -> nullptr cleanup. --- diff --git a/test/disk_writer_test.cc b/test/disk_writer_test.cc index 7d1df4873..481e72548 100644 --- a/test/disk_writer_test.cc +++ b/test/disk_writer_test.cc @@ -88,7 +88,7 @@ BOOST_AUTO_TEST_CASE (disk_writer_test1) /* Some arbitrary file size here */ make_random_file (dcp / "foo", 1024 * 1024 * 32 - 6128); - dcpomatic::write (dcp, disk.string(), partition.string(), 0); + dcpomatic::write (dcp, disk.string(), partition.string(), nullptr); BOOST_CHECK_EQUAL (system("/sbin/e2fsck -fn build/test/disk_writer_test1.partition"), 0); @@ -151,7 +151,7 @@ BOOST_AUTO_TEST_CASE (disk_writer_test2) make_random_file(partition, 4LL * 1024LL * 1024LL * 1024LL); auto const dcp = TestPaths::private_data() / "xm"; - dcpomatic::write(dcp, disk.string(), partition.string(), 0); + dcpomatic::write(dcp, disk.string(), partition.string(), nullptr); BOOST_CHECK_EQUAL(system("/sbin/e2fsck -fn build/test/disk_writer_test2.partition"), 0);