X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Ftypes.cc;h=9e87481591273b2b0dd60de3691f48afe58d9fd1;hb=refs%2Fheads%2Fcompose;hp=228ebf28f6d47bc442e12d8b4f43540c66ae1189;hpb=d5c220f76907f0113bf0b5d3a7e26e5b27197a17;p=dcpomatic.git diff --git a/src/lib/types.cc b/src/lib/types.cc index 228ebf28f..9e8748159 100644 --- a/src/lib/types.cc +++ b/src/lib/types.cc @@ -19,10 +19,10 @@ */ #include "types.h" -#include "compose.hpp" #include "dcpomatic_assert.h" #include "warnings.h" #include +#include #include #include #include @@ -112,7 +112,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 (dcp::compose ("Unknown text type %1", s)); } }