Some macOS test build fixes.
[dcpomatic.git] / test / upmixer_a_test.cc
index a00a77addcde806b56eb985a7d7e3a165fbffc23..2d1e652229cf2413adda872b9fc4d50693e2ae82 100644 (file)
@@ -35,6 +35,9 @@
 #include "test.h"
 
 using boost::shared_ptr;
+#if BOOST_VERSION >= 106100
+using namespace boost::placeholders;
+#endif
 using namespace dcpomatic;
 
 static SNDFILE* L;
@@ -79,7 +82,7 @@ BOOST_AUTO_TEST_CASE (upmixer_a_test)
        Ls = sf_open ("build/test/upmixer_a_test/Ls.wav", SFM_WRITE, &info);
        Rs = sf_open ("build/test/upmixer_a_test/Rs.wav", SFM_WRITE, &info);
 
-       shared_ptr<Player> player (new Player(film, film->playlist(), film->length()));
+       shared_ptr<Player> player (new Player(film));
        player->Audio.connect (bind (&write, _1, _2));
        while (!player->pass()) {}