From 7ded049db41c625abac4dc48495ea096bae55c40 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 11 Feb 2025 00:33:08 +0100 Subject: Replace compose with fmt. --- src/lib/text_type.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/text_type.cc b/src/lib/text_type.cc index 99799abcd..22bbf57e4 100644 --- a/src/lib/text_type.cc +++ b/src/lib/text_type.cc @@ -19,12 +19,12 @@ */ -#include "compose.hpp" #include "dcpomatic_assert.h" #include "exceptions.h" #include "text_type.h" #include "types.h" #include +#include #include "i18n.h" @@ -46,7 +46,7 @@ string_to_text_type(string s) } else if (s == "closed-caption") { return TextType::CLOSED_CAPTION; } else { - throw MetadataError(String::compose("Unknown text type %1", s)); + throw MetadataError(fmt::format("Unknown text type {}", s)); } } -- cgit v1.2.3