Use dcp::compose rather than our own.
[dcpomatic.git] / src / wx / player_information.cc
index f0eaa59bbea8e643ce7900f332fc3836e824061e..ae5ebe617f38d62e430bb5086a374cca293e168a 100644 (file)
 #include "wx_util.h"
 #include "film_viewer.h"
 #include "lib/playlist.h"
-#include "lib/compose.hpp"
 #include "lib/video_content.h"
 #include "lib/audio_content.h"
 #include "lib/dcp_content.h"
 #include "lib/film.h"
+#include <dcp/compose.h>
 
 using std::cout;
 using std::string;
@@ -157,7 +157,7 @@ PlayerInformation::triggered_update ()
        vfr = dcp->video_frame_rate ();
        DCPOMATIC_ASSERT (vfr);
 
-       string const len = String::compose(
+       string const len = dcp::compose(
                wx_to_std(_("Length: %1 (%2 frames)")),
                time_to_hmsf(dcp->full_length(fv->film()), lrint(*vfr)),
                dcp->full_length(fv->film()).frames_round(*vfr)