From 05217264ac58f48d9fb24569db0ed562d20be122 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 6 Jan 2024 17:52:46 +0100 Subject: Add process_string parameter to dcp::note_to_string(). --- src/verify.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/verify.h') diff --git a/src/verify.h b/src/verify.h index c0476ec9..6d587d32 100644 --- a/src/verify.h +++ b/src/verify.h @@ -691,7 +691,11 @@ VerifyResult verify( boost::optional xsd_dtd_directory = boost::optional() ); -std::string note_to_string(dcp::VerificationNote note, std::function process_filename = [](std::string s) { return s; }); +std::string note_to_string( + dcp::VerificationNote note, + std::function process_string = [](std::string s) { return s; }, + std::function process_filename = [](std::string s) { return s; } + ); bool operator== (dcp::VerificationNote const& a, dcp::VerificationNote const& b); bool operator!=(dcp::VerificationNote const& a, dcp::VerificationNote const& b); -- cgit v1.2.3