Use dcp::compose rather than our own.
[dcpomatic.git] / src / lib / file_group.cc
index 7dae1da92c26690f40ccdff9c4dd7d026d3d24d1..c5f6aa0cbf5236c92d1ded39ab410342c0bbe7c5 100644 (file)
  */
 
 
-#include "compose.hpp"
 #include "cross.h"
 #include "dcpomatic_assert.h"
 #include "exceptions.h"
 #include "file_group.h"
+#include <dcp/compose.h>
 #include <sndfile.h>
 #include <cstdio>
 
@@ -182,7 +182,7 @@ FileGroup::read (uint8_t* buffer, int amount) const
                }
 
                if (ferror(_current_file)) {
-                       throw FileError (String::compose("fread error %1", errno), _paths[_current_path]);
+                       throw FileError (dcp::compose("fread error %1", errno), _paths[_current_path]);
                }
 
                if (eof) {