diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-12-23 21:53:32 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-12-26 00:27:08 +0100 |
| commit | 8caf013a9b8d709ed7c3d5e9febee0067e6fcf1f (patch) | |
| tree | 40da87cb357e8b1c54a1464bdbac2d014640e30c /src/lib/file_group.cc | |
| parent | cec6ff92aef45c687085ecfc1059004407c18c57 (diff) | |
Replace String::compose with fmt::format().
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 56a5c2c59..84893b790 100644 --- a/src/lib/file_group.cc +++ b/src/lib/file_group.cc @@ -24,13 +24,13 @@ */ -#include "compose.hpp" #include "cross.h" #include "dcpomatic_assert.h" #include "exceptions.h" #include "file_group.h" #include <dcp/filesystem.h> #include <sndfile.h> +#include <fmt/format.h> #include <cstdio> @@ -169,7 +169,7 @@ FileGroup::read (uint8_t* buffer, int amount) const } if (_current_file->error()) { - throw FileError (String::compose("fread error %1", errno), _paths[_current_path]); + throw FileError(fmt::format("fread error {}", errno), _paths[_current_path]); } if (eof) { |
