summaryrefslogtreecommitdiff
path: root/src/lib/hints.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-12-23 21:50:53 +0100
committerCarl Hetherington <cth@carlh.net>2024-12-26 00:26:40 +0100
commitcec6ff92aef45c687085ecfc1059004407c18c57 (patch)
tree8aace150067b6017498e037841a22465525b4a62 /src/lib/hints.cc
parent1e324c3cac09ac886293f755d0c1527ece2f5244 (diff)
Replace raw_convert<string> with fmt::to_string().
Diffstat (limited to 'src/lib/hints.cc')
-rw-r--r--src/lib/hints.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/hints.cc b/src/lib/hints.cc
index 4a13f77a0..b929a3746 100644
--- a/src/lib/hints.cc
+++ b/src/lib/hints.cc
@@ -40,9 +40,9 @@
#include "writer.h"
#include <dcp/cpl.h>
#include <dcp/filesystem.h>
-#include <dcp/raw_convert.h>
#include <dcp/reel.h>
#include <dcp/reel_text_asset.h>
+#include <fmt/format.h>
#include <boost/algorithm/string.hpp>
#include <iostream>
@@ -346,7 +346,7 @@ Hints::check_loudness ()
float const peak = max (sample_peak[i].peak, true_peak.empty() ? 0 : true_peak[i]);
float const peak_dB = linear_to_db(peak) + an->gain_correction(film()->playlist());
if (peak_dB > -3) {
- ch += dcp::raw_convert<string>(short_audio_channel_name(i)) + ", ";
+ ch += fmt::to_string(short_audio_channel_name(i)) + ", ";
}
}