diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-12-23 16:30:01 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-12-23 17:35:02 +0100 |
| commit | 52d807654169d6443909c1d5dd20a155801faa26 (patch) | |
| tree | 727774d21ea1f4b54ccd61a09127894cb8d572ef /src/mono_mpeg2_picture_frame.cc | |
| parent | a6ccc587277b848b4a60c07456b11eb1b076d181 (diff) | |
Remove String::compose and use fmt instead.
Diffstat (limited to 'src/mono_mpeg2_picture_frame.cc')
| -rw-r--r-- | src/mono_mpeg2_picture_frame.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mono_mpeg2_picture_frame.cc b/src/mono_mpeg2_picture_frame.cc index 3c79a94c..a3585657 100644 --- a/src/mono_mpeg2_picture_frame.cc +++ b/src/mono_mpeg2_picture_frame.cc @@ -32,8 +32,8 @@ */ -#include "compose.hpp" #include "mono_mpeg2_picture_frame.h" +#include <fmt/core.h> using std::make_shared; @@ -64,7 +64,7 @@ MonoMPEG2PictureFrame::MonoMPEG2PictureFrame(ASDCP::MPEG2::MXFReader* reader, in auto const r = reader->ReadFrame(n, *_buffer, context->context(), check_hmac ? context->hmac() : nullptr); if (ASDCP_FAILURE(r)) { - boost::throw_exception(ReadError(String::compose("could not read video frame %1 (%2)", n, static_cast<int>(r)))); + boost::throw_exception(ReadError(fmt::format("could not read video frame {} ({})", n, static_cast<int>(r)))); } } |
