summaryrefslogtreecommitdiff
path: root/src/util.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-01-14 11:27:00 +0100
committerCarl Hetherington <cth@carlh.net>2025-01-14 11:27:00 +0100
commitaf87d03b24c21301639c23606993cfebcfbe3088 (patch)
treee8106169d717030d96c444f3009687d3f7e2ba49 /src/util.cc
parent4cad94e5c679c290db71f739df513fbee5286b2a (diff)
Add GroupID support for PKLs (DoM #2943).v1.10.5
Diffstat (limited to 'src/util.cc')
-rw-r--r--src/util.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/util.cc b/src/util.cc
index 01bc8dea..5f19d323 100644
--- a/src/util.cc
+++ b/src/util.cc
@@ -317,6 +317,17 @@ dcp::remove_urn_uuid (string raw)
}
+optional<string>
+dcp::remove_urn_uuid(optional<string> raw)
+{
+ if (!raw) {
+ return {};
+ }
+
+ return remove_urn_uuid(*raw);
+}
+
+
string
dcp::openjpeg_version ()
{