diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-07-10 02:02:19 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-07-10 02:02:19 +0200 |
| commit | 5b0e331380c83ec9835e8aa42fd342b2f0ad275d (patch) | |
| tree | 13c27f0b3420f5c3a268a5a22a9172675fdc370c /src/lib/file_group.cc | |
| parent | 5d838bc863a7569e68546026c109607fd5a94362 (diff) | |
Use dcp::compose rather than our own.compose
Diffstat (limited to 'src/lib/file_group.cc')
| -rw-r--r-- | src/lib/file_group.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/file_group.cc b/src/lib/file_group.cc index 7dae1da92..c5f6aa0cb 100644 --- a/src/lib/file_group.cc +++ b/src/lib/file_group.cc @@ -24,11 +24,11 @@ */ -#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) { |
