X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=test%2Fmca_test.cc;h=12b4f2c6f21c0a15db47adb980b872078ba0f78c;hb=e61267217a8ca7e65ad42bf34b6488b92eca6389;hp=decbf581244e499922493ea14a28503d945551cf;hpb=2c5e61891e7975f4c2d33a5f2ed144645e3078f9;p=libdcp.git diff --git a/test/mca_test.cc b/test/mca_test.cc index decbf581..12b4f2c6 100644 --- a/test/mca_test.cc +++ b/test/mca_test.cc @@ -1,5 +1,5 @@ /* - Copyright (C) 2020 Carl Hetherington + Copyright (C) 2020-2021 Carl Hetherington This file is part of libdcp. @@ -39,8 +39,11 @@ #include "sound_asset.h" #include "sound_asset_writer.h" #include "test.h" +#include "warnings.h" #include +LIBDCP_DISABLE_WARNINGS #include +LIBDCP_ENABLE_WARNINGS #include @@ -111,8 +114,8 @@ BOOST_AUTO_TEST_CASE (write_mca_descriptors_to_mxf_test) /* Make a CPL as a roundabout way to read the metadata we just wrote to the MXF */ - shared_ptr reel_sound_asset(new dcp::ReelSoundAsset(sound_asset, 0)); - shared_ptr reel(new dcp::Reel()); + auto reel_sound_asset = make_shared(sound_asset, 0); + auto reel = make_shared(); reel->add (black_picture_asset("build/test/write_mca_descriptors_to_mxf_test", 24)); reel->add (reel_sound_asset);