summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-12-23 15:32:01 +0100
committerCarl Hetherington <cth@carlh.net>2024-12-23 17:34:47 +0100
commit77f52850eb56fa72bca3c072e9445649dc85493c (patch)
tree19c0059c2a30b71028dfaa64f073ec8893546e66 /test
parenta66f89834d66c089d3328f36d319821d110b7ea1 (diff)
Use fmt for conversions from number to string (instead of raw_convert).
Diffstat (limited to 'test')
-rw-r--r--test/verify_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/verify_test.cc b/test/verify_test.cc
index 51448297..608409ee 100644
--- a/test/verify_test.cc
+++ b/test/verify_test.cc
@@ -41,7 +41,6 @@
#include "mono_j2k_picture_asset.h"
#include "mono_j2k_picture_asset_writer.h"
#include "openjpeg_image.h"
-#include "raw_convert.h"
#include "reel.h"
#include "reel_interop_text_asset.h"
#include "reel_markers_asset.h"
@@ -57,6 +56,7 @@
#include "verify.h"
#include "verify_internal.h"
#include "verify_j2k.h"
+#include <fmt/core.h>
#include <boost/algorithm/string.hpp>
#include <boost/random.hpp>
#include <boost/test/unit_test.hpp>
@@ -2190,7 +2190,7 @@ verify_timed_text_asset_too_large (string name)
dcp::VerificationNote(
dcp::VerificationNote::Type::BV21_ERROR,
dcp::VerificationNote::Code::INVALID_TIMED_TEXT_FONT_SIZE_IN_BYTES,
- dcp::raw_convert<string>(121634816),
+ fmt::to_string(121634816),
canonical(dir / "subs.mxf")
).set_cpl_id(cpl->id()),
dcp::VerificationNote(