diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-01-06 17:52:46 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-04-15 10:59:34 +0200 |
| commit | 05217264ac58f48d9fb24569db0ed562d20be122 (patch) | |
| tree | 23cc603846d35022cb619556147060a9616e22b3 /src/verify.h | |
| parent | 01218f1af7844a86cedcb3ef41365cb51209c2b3 (diff) | |
Add process_string parameter to dcp::note_to_string().
Diffstat (limited to 'src/verify.h')
| -rw-r--r-- | src/verify.h | 6 |
1 files changed, 5 insertions, 1 deletions
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<boost::filesystem::path> xsd_dtd_directory = boost::optional<boost::filesystem::path>() ); -std::string note_to_string(dcp::VerificationNote note, std::function<std::string (std::string)> process_filename = [](std::string s) { return s; }); +std::string note_to_string( + dcp::VerificationNote note, + std::function<std::string (std::string)> process_string = [](std::string s) { return s; }, + std::function<std::string (std::string)> 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); |
