summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-09-19 23:57:21 +0200
committerCarl Hetherington <cth@carlh.net>2021-09-20 00:08:17 +0200
commit3ff1586aad2fa5ba7e5fd95e178614aae12496e6 (patch)
treea190a45f919120c272cd97a734f30479e62b3372 /test
parent2b3fbc42400258ae47ae3a10d3dfd9f0561d1940 (diff)
Use a constexpr and a nullptr.
Diffstat (limited to 'test')
-rw-r--r--test/film_metadata_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/film_metadata_test.cc b/test/film_metadata_test.cc
index 6d4c606e2..f1313497a 100644
--- a/test/film_metadata_test.cc
+++ b/test/film_metadata_test.cc
@@ -51,7 +51,7 @@ BOOST_AUTO_TEST_CASE (film_metadata_test)
film->_isdcf_date = boost::gregorian::from_undelimited_string ("20130211");
BOOST_CHECK (film->container() == Ratio::from_id ("185"));
- BOOST_CHECK (film->dcp_content_type() == 0);
+ BOOST_CHECK (film->dcp_content_type() == nullptr);
film->set_name ("fred");
film->set_dcp_content_type (DCPContentType::from_isdcf_name ("SHR"));