C++11 and whitespace cleanups.
[dcpomatic.git] / src / lib / dkdm_recipient.cc
index b15487c8ab4935864334ec27957ba0b4fc5ba4a2..ff19aa265b050e05d7c267cebe67dd9eebdcb66d 100644 (file)
@@ -20,8 +20,8 @@
 
 
 #include "dkdm_recipient.h"
-#include "kdm_with_metadata.h"
 #include "film.h"
+#include "kdm_with_metadata.h"
 #include <dcp/raw_convert.h>
 
 
@@ -68,7 +68,7 @@ kdm_for_dkdm_recipient (
        )
 {
        if (!recipient->recipient) {
-               return KDMWithMetadataPtr();
+               return {};
        }
 
        dcp::LocalTime const begin(valid_from, recipient->utc_offset_hour, recipient->utc_offset_minute);