diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-12-23 21:50:53 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-12-26 00:26:40 +0100 |
| commit | cec6ff92aef45c687085ecfc1059004407c18c57 (patch) | |
| tree | 8aace150067b6017498e037841a22465525b4a62 /src/lib/export_config.cc | |
| parent | 1e324c3cac09ac886293f755d0c1527ece2f5244 (diff) | |
Replace raw_convert<string> with fmt::to_string().
Diffstat (limited to 'src/lib/export_config.cc')
| -rw-r--r-- | src/lib/export_config.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/export_config.cc b/src/lib/export_config.cc index 79042e59c..fc91c8676 100644 --- a/src/lib/export_config.cc +++ b/src/lib/export_config.cc @@ -21,11 +21,11 @@ #include "config.h" #include "export_config.h" -#include <dcp/raw_convert.h> #include <dcp/warnings.h> LIBDCP_DISABLE_WARNINGS #include <libxml++/libxml++.h> LIBDCP_ENABLE_WARNINGS +#include <fmt/format.h> using std::string; @@ -106,7 +106,7 @@ ExportConfig::write(xmlpp::Element* element) const cxml::add_text_child(element, "MixdownToStereo", _mixdown_to_stereo ? "1" : "0"); cxml::add_text_child(element, "SplitReels", _split_reels ? "1" : "0"); cxml::add_text_child(element, "SplitStreams", _split_streams ? "1" : "0"); - cxml::add_text_child(element, "X264CRF", dcp::raw_convert<string>(_x264_crf)); + cxml::add_text_child(element, "X264CRF", fmt::to_string(_x264_crf)); } |
