Use dcp::compose rather than our own.
[dcpomatic.git] / src / lib / dkdm_wrapper.cc
index 4698c159d26a97bd9dd85cac1edd153334eacc09..ceba6582c28c385168ad5008fd4ec31d1372cd1e 100644 (file)
 */
 
 
-#include "compose.hpp"
 #include "dkdm_wrapper.h"
 #include "dcpomatic_assert.h"
 #include "warnings.h"
+#include <dcp/compose.h>
 DCPOMATIC_DISABLE_WARNINGS
 #include <libxml++/libxml++.h>
 DCPOMATIC_ENABLE_WARNINGS
@@ -57,7 +57,7 @@ DKDMBase::read (cxml::ConstNodePtr node)
 string
 DKDM::name () const
 {
-       return String::compose ("%1 (%2)", _dkdm.content_title_text(), _dkdm.cpl_id());
+       return dcp::compose ("%1 (%2)", _dkdm.content_title_text(), _dkdm.cpl_id());
 }