summaryrefslogtreecommitdiff
path: root/src/sound_asset_writer.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-07-10 01:24:48 +0200
committerCarl Hetherington <cth@carlh.net>2021-07-10 01:24:48 +0200
commit13154bc1a9b341f46994607fdde2e725444a6e21 (patch)
tree3fcf211b397092798b2aa39af4cc567d146a574c /src/sound_asset_writer.cc
parent9853cbf566fdfdea096333c4caa788c29fa5c57b (diff)
Remove String namespace from around compose().compose
Diffstat (limited to 'src/sound_asset_writer.cc')
-rw-r--r--src/sound_asset_writer.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sound_asset_writer.cc b/src/sound_asset_writer.cc
index 346dcc12..29f3360d 100644
--- a/src/sound_asset_writer.cc
+++ b/src/sound_asset_writer.cc
@@ -242,7 +242,7 @@ SoundAssetWriter::write_current_frame ()
{
auto const r = _state->mxf_writer.WriteFrame (_state->frame_buffer, _crypto_context->context(), _crypto_context->hmac());
if (ASDCP_FAILURE(r)) {
- boost::throw_exception (MiscError(String::compose("could not write audio MXF frame (%1)", static_cast<int>(r))));
+ boost::throw_exception (MiscError(compose("could not write audio MXF frame (%1)", static_cast<int>(r))));
}
++_frames_written;
@@ -263,7 +263,7 @@ SoundAssetWriter::finalize ()
if (_started) {
auto const r = _state->mxf_writer.Finalize();
if (ASDCP_FAILURE(r)) {
- boost::throw_exception (MiscError(String::compose ("could not finalise audio MXF (%1)", static_cast<int>(r))));
+ boost::throw_exception (MiscError(compose("could not finalise audio MXF (%1)", static_cast<int>(r))));
}
}