Move some methods out of util.{cc,h}
[dcpomatic.git] / src / lib / film.cc
index 5543a0d01a70b72f8a08abee84476ac5b4c20523..399bd3da3ca21f2f5b3f86050e7eea0795b34b03 100644 (file)
@@ -809,6 +809,11 @@ Film::isdcf_name (bool if_created_now) const
 
        auto raw_name = name ();
 
+       auto to_upper = [](string s) {
+               transform(s.begin(), s.end(), s.begin(), ::toupper);
+               return s;
+       };
+
        /* Split the raw name up into words */
        vector<string> words;
        split (words, raw_name, is_any_of (" _-"));