X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fcinema.cc;h=ce3077b2a041df9ab21e6600a59f4f770f78f164;hb=3b80b8f8a938dd34ee0e0fbca8fbce6a6850f136;hp=62023618676a6f83de20bfde5f6be6acd651e1b7;hpb=c6c082c4a8016f85ba4207f4b8ccee1d5770e4a4;p=dcpomatic.git diff --git a/src/lib/cinema.cc b/src/lib/cinema.cc index 620236186..ce3077b2a 100644 --- a/src/lib/cinema.cc +++ b/src/lib/cinema.cc @@ -17,9 +17,9 @@ */ -#include -#include #include "cinema.h" +#include +#include using std::list; using boost::shared_ptr; @@ -68,8 +68,8 @@ Cinema::remove_screen (shared_ptr s) } Screen::Screen (cxml::ConstNodePtr node) + : name (node->string_child ("Name")) { - name = node->string_child ("Name"); if (node->optional_string_child ("Certificate")) { certificate = dcp::Certificate (node->string_child ("Certificate")); }