From 5b0e331380c83ec9835e8aa42fd342b2f0ad275d Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 10 Jul 2021 02:02:19 +0200 Subject: Use dcp::compose rather than our own. --- src/lib/file_group.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/file_group.cc') 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 #include #include @@ -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) { -- cgit v1.2.3