Ignore empty KDM email addresses (#818).
[dcpomatic.git] / src / lib / util.cc
index 61c9dac068479ca179f6d2935609e77a6e2bfc19..6f366257cf7556648d6401f20a00262d604fc319 100644 (file)
@@ -636,3 +636,9 @@ relaxed_string_to_float (string s)
                return lexical_cast<float> (s);
        }
 }
+
+bool
+string_not_empty (string s)
+{
+       return !s.empty ();
+}